combine subpathes in touching points
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Wishlist
|
hefee | ||
Bug Description
When you have to subpaths which are touching in one point than this patch will create one big subpath that combines the two subpaths.
in example are numbers are represent points and letters svg:path comands:
-you have two subpaths M1 B2 C3 and M3 D4 E5 the script creates one path M1 B2 C3 D4 E5
-you have two possible flavours of the script in one you leave the subpathes as they are and only start- end endpoint of the subpath will be used, the other floavor is to break oll subpathes into points and lines - so maybe the pathes will be creates in other ways
-to understand the code:
>there is a class named Net that will create a net of points and bond between them with the parsed output of simplepath as input see Net:createNet(cmds)
>to get out the new subpath(s) the function createD is used-you can use the output directiy in the d-Argument in svg:path
> a big testing routine is written to test the creating of the Net and the subpaths see function test
tags: |
added: extensions-plugins node-editing removed: closing subpath |
Changed in inkscape: | |
status: | New → Confirmed |
Changed in inkscape: | |
milestone: | none → 0.49 |
Changed in inkscape: | |
milestone: | 0.48 → none |
@hefee - do you have any documentation for your extension? I could not get it to work (Inkscape 0.47pre1, OS X 10.5.7) even though I re-read your irc conversation (<inkscape. gristle. org>) about its use at the time when you added it to the bug tracker. The extension didn't fail with an error message but neither did it join any 'subpaths', touching in one or more nodes - I believe I tried every basic scenario I could think of. A drawing illustrating your extensions basic functionality could be very helpful. Sorry I forgot to give any feedback sooner...
~suv