Inkscape.org
Beginners' Questions duplicate lines
  1. #1
    Anthony1 Anthony1 @Anthony1

    i just finished quite a complicated line drawing and at some point i think i have duplicated it , is there an easy way to check if there are duplicate layers or do i need to go line by line to delete them?

  2. #2
    Anthony1 Anthony1 @Anthony1

    i guess i need to go line by line then

  3. #3
    Tyler Durden Tyler Durden @TylerDurden

    There are extensions for purging duplicated lines... can't say how well they work.

    https://stadtfabrikanten.org/display/IFM/MightyScape+1.2+-+Extensions+Overview

  4. #4
    David248 David248 @David248
    *

    Sorry for this late answer.

    Select all lines with a wide selection rectangle. Set them a 50 % transparency to quickly see where there are duplicates stacked.

    You can also use blend modes to highlight them.

    You can also use object panel to help you.

  5. #5
    Anthony1 Anthony1 @Anthony1

    if i select them with a box then all the lines are selected and setting them to 50% makes them all lighter, how do i tell if they are duplicated , also , sorry i know this is probably a simple question , i'm using opacity in the fill and stroke tab to lower the transparency ,is this correct and what do i set the blend mode to to help? and what do i use in the object panel ?, i starte at all the settings but nothing jumps out that would help

    thank you

  6. #6
    inklinea inklinea @inklinea⛰️

    For removing duplicate lines:

    https://inkscape.org/~EllenWasbo/%E2%98%85remove-duplicate-lines-with-tolerance

    (if you don't know how to get it from mighty scape)

    If you just want to remove a duplicate object with same position(layer, symbol, rectangle etc) where just the id and label may differ.

    So for example if you have accidentally duplicated a layer ( and not edited it ) or accidentally pasted two copies of an object in the exact same postion.

    I've attached a simple text based xml text duplicate finder.

    It will find elements with identical xml code - ignoring the ids or labels and print at list. 

    Appears under Extensions>Arrange>Dupe Check.

    Just extract it into your user extension folder.

     

  7. #7
    Anthony1 Anthony1 @Anthony1

    this sounds promising, i will give it a try when i get home tonight , thank you 

  8. #8
    David248 David248 @David248
    *
    Anthony1

    if i select them with a box then all the lines are selected and setting them to 50% makes them all lighter, how do i tell if they are duplicated ,

    See screenshot : I did a selection rectangle on all the left shapes. You can see status bar says 8 stars selected but visually there are only 7. Once their opacity is turned to 50% (use the O : bottom left of screen just next to fill color), you can find where two stars are stacked : they look darker : see right side of screenshot.

     

     

    Screen
  9. #9
    Anthony1 Anthony1 @Anthony1
    👍

    thank you , David 248 , that worked perfectly

  10. #10
    Anthony1 Anthony1 @Anthony1

    i just realized why this works , so simple , with the opacity set to 50% 1 line is pink but 2 lines on top of each other are red, thank you again