0

I am new to inkscape, and browsed few forums but could not find a solution for this.

I have a PDF with many "short" lines, some of them starting (exactly) where another one ends.

enter image description here.

Is there a way to "simplify" this, by automatically merging (or removing?) the overlapping nodes? (Note that the actual PDF will have many more such lines, I attach a section of it for illustration purposes.)

The SVG is (I can't attach an SVG, can I?):

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   id="svg8"
   version="1.1"
   viewBox="0 0 210 297"
   height="297mm"
   width="210mm"
   inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
   sodipodi:docname="drawing.svg">
  <defs
     id="defs2" />
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="3.959798"
     inkscape:cx="396.86727"
     inkscape:cy="765.26497"
     inkscape:document-units="mm"
     inkscape:current-layer="layer1"
     showgrid="false"
     inkscape:window-width="2560"
     inkscape:window-height="1377"
     inkscape:window-x="-8"
     inkscape:window-y="-8"
     inkscape:window-maximized="1" />
  <metadata
     id="metadata5">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g
     inkscape:label="Layer 1"
     inkscape:groupmode="layer"
     id="layer1">
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 143.01428,114.72397 5.00786,-5.00786"
       id="path2150" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 138.00642,114.72397 5.00786,-5.00786"
       id="path2148" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 127.9907,114.72397 5.00786,-5.00786"
       id="path2146" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 107.95928,114.72397 5.00786,-5.00786"
       id="path2144" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 97.943567,114.72397 5.007863,-5.00786"
       id="path2142" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 92.935715,114.72397 5.007852,-5.00786"
       id="path2140" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 87.927854,114.72397 5.007861,-5.00786"
       id="path2138" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 77.912146,114.72397 82.92,109.71611"
       id="path2136" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 67.896431,114.72397 5.007854,-5.00786"
       id="path2134" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 62.888575,114.72397 5.007856,-5.00786"
       id="path2132" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 143.01428,109.71611 5.00786,-5.00786"
       id="path2130" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 132.99856,109.71611 5.00786,-5.00786"
       id="path2128" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 127.9907,109.71611 5.00786,-5.00786"
       id="path2126" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 122.98285,109.71611 5.00785,-5.00786"
       id="path2124" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 117.975,109.71611 5.00785,-5.00786"
       id="path2122" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 112.96714,109.71611 5.00786,-5.00786"
       id="path2120" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 102.95143,109.71611 5.00785,-5.00786"
       id="path2118" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 87.927854,109.71611 5.007861,-5.00786"
       id="path2116" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 72.904285,109.71611 5.007861,-5.00786"
       id="path2114" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 62.888575,109.71611 5.007856,-5.00786"
       id="path2112" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 132.99856,104.70825 5.00786,-5.007853"
       id="path2110" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 127.9907,104.70825 5.00786,-5.007853"
       id="path2108" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 117.975,104.70825 5.00785,-5.007853"
       id="path2106" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 112.96714,104.70825 117.975,99.700397"
       id="path2104" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 102.95143,104.70825 5.00785,-5.007853"
       id="path2102" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 97.943567,104.70825 5.007863,-5.007853"
       id="path2100" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 87.927854,104.70825 5.007861,-5.007853"
       id="path2098" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 72.904285,104.70825 5.007861,-5.007853"
       id="path2096" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 67.896431,104.70825 5.007854,-5.007853"
       id="path2094" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 62.888575,104.70825 5.007856,-5.007853"
       id="path2092" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 143.01428,99.700397 5.00786,-5.007858"
       id="path2090" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 138.00642,99.700397 5.00786,-5.007858"
       id="path2088" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 132.99856,99.700397 5.00786,-5.007858"
       id="path2086" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 127.9907,99.700397 5.00786,-5.007858"
       id="path2084" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 117.975,99.700397 5.00785,-5.007858"
       id="path2082" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 102.95143,99.700397 5.00785,-5.007858"
       id="path2080" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 97.943567,99.700397 5.007863,-5.007858"
       id="path2078" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 92.935715,99.700397 5.007852,-5.007858"
       id="path2076" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 87.927854,99.700397 5.007861,-5.007858"
       id="path2074" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 82.92,99.700397 5.007854,-5.007858"
       id="path2072" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 77.912146,99.700397 82.92,94.692539"
       id="path2070" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 67.896431,99.700397 5.007854,-5.007858"
       id="path2068" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 62.888575,99.700397 5.007856,-5.007858"
       id="path2066" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 143.01428,94.692539 5.00786,-5.007855"
       id="path2064" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 138.00642,94.692539 5.00786,-5.007855"
       id="path2062" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 132.99856,94.692539 5.00786,-5.007855"
       id="path2060" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 112.96714,94.692539 117.975,89.684684"
       id="path2058" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 107.95928,94.692539 5.00786,-5.007855"
       id="path2056" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 102.95143,94.692539 5.00785,-5.007855"
       id="path2054" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 92.935715,94.692539 5.007852,-5.007855"
       id="path2052" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 87.927854,94.692539 5.007861,-5.007855"
       id="path2050" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 82.92,94.692539 5.007854,-5.007855"
       id="path2048" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 77.912146,94.692539 82.92,89.684684"
       id="path2046" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 62.888575,94.692539 5.007856,-5.007855"
       id="path2044" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 143.01428,89.684684 5.00786,-5.007856"
       id="path2042" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 138.00642,89.684684 5.00786,-5.007856"
       id="path2040" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 132.99856,89.684684 5.00786,-5.007856"
       id="path2038" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 112.96714,89.684684 117.975,84.676828"
       id="path2036" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 107.95928,89.684684 5.00786,-5.007856"
       id="path2034" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 102.95143,89.684684 5.00785,-5.007856"
       id="path2032" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 97.943567,89.684684 5.007863,-5.007856"
       id="path2030" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 92.935715,89.684684 5.007852,-5.007856"
       id="path2028" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 87.927854,89.684684 5.007861,-5.007856"
       id="path2026" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 82.92,89.684684 5.007854,-5.007856"
       id="path2024" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 77.912146,89.684684 82.92,84.676828"
       id="path2022" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 67.896431,89.684684 5.007854,-5.007856"
       id="path2020" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 143.01428,84.676828 5.00786,-5.007857"
       id="path2018" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 132.99856,84.676828 5.00786,-5.007857"
       id="path2016" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 117.975,84.676828 5.00785,-5.007857"
       id="path2014" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 112.96714,84.676828 117.975,79.668971"
       id="path2012" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 102.95143,84.676828 5.00785,-5.007857"
       id="path2010" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 97.943567,84.676828 5.007863,-5.007857"
       id="path2008" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 92.935715,84.676828 5.007852,-5.007857"
       id="path2006" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 82.92,84.676828 5.007854,-5.007857"
       id="path2004" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 77.912146,84.676828 82.92,79.668971"
       id="path2002" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 72.904285,84.676828 5.007861,-5.007857"
       id="path2000" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 143.01428,79.668971 5.00786,-5.007856"
       id="path1998" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 138.00642,79.668971 5.00786,-5.007856"
       id="path1996" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 132.99856,79.668971 5.00786,-5.007856"
       id="path1994" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 127.9907,79.668971 5.00786,-5.007856"
       id="path1992" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 122.98285,79.668971 5.00785,-5.007856"
       id="path1990" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 112.96714,79.668971 117.975,74.661115"
       id="path1988" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 107.95928,79.668971 5.00786,-5.007856"
       id="path1986" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 102.95143,79.668971 5.00785,-5.007856"
       id="path1984" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 92.935715,79.668971 5.007852,-5.007856"
       id="path1982" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 82.92,79.668971 5.007854,-5.007856"
       id="path1980" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 77.912146,79.668971 82.92,74.661115"
       id="path1978" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 67.896431,84.676828 C 69.565716,83.007542 71.235,81.338257 72.904285,79.668971"
       id="path1976"
       inkscape:connector-curvature="0" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 72.904285,79.668971 c 1.669287,-1.669285 3.338574,-3.338571 5.007861,-5.007856"
       id="path1974"
       inkscape:connector-curvature="0" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 143.01428,74.661115 5.00786,-5.007856"
       id="path1972" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 138.00642,74.661115 5.00786,-5.007856"
       id="path1970" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 132.99856,74.661115 5.00786,-5.007856"
       id="path1968" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 122.98285,74.661115 5.00785,-5.007856"
       id="path1966" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="M 112.96714,74.661115 117.975,69.653259"
       id="path1964" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 97.943567,74.661115 5.007863,-5.007856"
       id="path1962" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 92.935715,74.661115 5.007852,-5.007856"
       id="path1960" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 82.92,74.661115 5.007854,-5.007856"
       id="path1958" />
    <path
       style="display:inline;fill:none;stroke:#646464;stroke-width:0.86674434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
       d="m 67.896431,74.661115 5.007854,-5.007856"
       id="path14834" />
  </g>
  <WCB
     application="Axidraw"
     row="0"
     randseed="0"
     pausedposy="0"
     pausedposx="0"
     lastknownposy="0"
     lastknownposx="0"
     lastpathnc="0"
     lastpath="0"
     node="0"
     layer="0" />
</svg>

Thanks!

plottah

6
  • It would depend how these lines were constructed. Without access to the file, I'm not sure how much I can really help. You might want to try to see if you can select a path (assuming these are just simple paths with multiple nodes), and simplify using Path > Simplify.
    – Billy Kerr
    Jan 5 '20 at 12:58
  • Welcome on GD.SE, Plottah. In your image I'm not able to see overlapping nodes, just a bunch of parallel segments. You can connect end nodes (see an example here), Read also this: if more than two end nodes are selected, pairs of end nodes will be merged, starting with the end nodes closest to each other until either zero or one end nodes are selected. Jan 5 '20 at 14:14
  • Thanks. As suggested, I've tried both "path > simplify" and "Join nodes" with no success. I've now added the SVG (code) in my original question.... Does that give you any more ideas?
    – plottah
    Jan 5 '20 at 15:58
  • Added an answer now, although it may not be what you want to hear.
    – Billy Kerr
    Jan 5 '20 at 16:34
  • I'd use the Chain paths extension (currently not yet updated for the upcoming Inkscape 1.0, might work or not), which lets you define a maximum distance for connecting nodes. github.com/fablabnbg/inkscape-chain-paths - Edit: tested with 1.0 now. Crashes Inkscape. Works flawlessly with 0.92.4.
    – Moini
    Jan 7 '20 at 1:46
0

The problem here is the way that the PDF has been constructed. Here is just one of those lines showing that it is made up of independent/unjoined paths. You can see each Path in the Object panel.

enter image description here

Unfortunately there's no easy fix for this. It might be quicker to recreate the artwork in Inkscape from scratch*

What you could do is select all the paths in a line, then select the inside nodes only by holding down Shift as you click and drag with the Select By Nodes tool, and then join them using Shift+J. Then Simplify will work. However, this would be an extremely tedious task for all of those lines.

enter image description here

*Recreating the artwork from scratch, using a grid and snap to grid, should be a simple enough. For example, this took only a few minutes. Each line in the example below was created using the Bézier tool without the addition of all these extra nodes. I copied and pasted whole parts of the pattern to speed it up.

enter image description here

1
  • Thanks for the quick and detailed answer. (Unfortunately recreating it directly in Inskape is not an option since it needs to follow some given "generative" rules, I will need to find a different way to combine the lines directly when creating it, I guess)
    – plottah
    Jan 5 '20 at 21:30
0

The lines are ordered from bottom right to left and from bottom to top. All Segments are of the same length, or looking at it like in the raster, shown by Billy Kerr, each Segment is either filled with a diagonal line or not. All are of width of about 5.01 and height 5.01. So the 4th line which reaches the top border is 2 segments long and the upper part is the 4th to last one (path 1962).

m 97.943567,74.661115 5.007863,-5.007856

The connected segment isn't the next or last in the svg-file, but path 1982

m 92.935715,79.668971 5.007852,-5.007856

If you add (5.01, -5.01) to (92.9, 79.7) you get the coordinates of the previous segment:

92.935715,79.668971 
 5.007852,-5.007856
97.943567,74.661115

I didn't check whether this is true for all lines without rounding errors.

So with a programming language, you should be able to identify and combine such segments into fewer, but longer ones (here rounded, for laziness):

 m 92.935715,79.668971 10.016,-10.016

If this is a repeated task, it might be worth the effort. Else you might consider grouping all lines, turning the group by 45° degrees to get them all in horizontal or vertical direction, which makes it easier to mark a single line of many segments, then perform Billys join, then return them back by 45°.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.