unclosed path

Post questions on how to use or achieve an effect in Inkscape.
julo
Posts: 31
Joined: Thu Oct 30, 2008 3:29 am

unclosed path

Postby julo » Mon Apr 20, 2009 3:52 pm

How can I find, if I have any uclosed (open) paths?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: unclosed path

Postby brynn » Mon Apr 20, 2009 9:08 pm

Well, one way might be to try to apply a Fill. If the path is not closed, it won't accept the Fill. Another way might be to zoom way, way in, which might reveal gaps that can't be seen at a lower zoom. Can you give us more info about why you need to identify unclosed paths?

julo
Posts: 31
Joined: Thu Oct 30, 2008 3:29 am

Re: unclosed path

Postby julo » Mon Apr 20, 2009 10:19 pm

Thanks, I need it for microphotobank. They returned me one drawing that it contains unclosed paths.

DaveG27
Posts: 12
Joined: Fri Feb 27, 2009 7:19 am

Re: unclosed path

Postby DaveG27 » Tue Apr 21, 2009 7:48 am

How can I find, if I have any uclosed (open) paths?

Another way maybe is to use the XML editor, all the closed paths the "d" positions end in a "z" as in example below. 1st open 2nd, closed, also first and last pair of dimentions are the same.
It may be easier to open up the file in a suitable text editor and use the search function to find the paths and then see if they have a "z at the end and note the path number and then edit in inscape.
Note I am novice at Inkscape and their might be an easier way
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 74.285714,169.50504 L 560,155.21933 L 317.14286,466.6479 L 94.285714,232.36218"
id="path2395" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 100,595.21933 L 582.85714,592.36218 L 345.71429,869.50504 L 100,595.21933 z"
id="path2397" />
</g>

julo
Posts: 31
Joined: Thu Oct 30, 2008 3:29 am

Re: unclosed path

Postby julo » Tue Apr 21, 2009 4:58 pm

Thank you, DaveG27, I try it


Return to “Help with using Inkscape”