Filling knots in inkscape

Post questions on how to use or achieve an effect in Inkscape.
kunalbedse
Posts: 2
Joined: Sun Jul 18, 2010 12:05 pm

Filling knots in inkscape

Postby kunalbedse » Sun Jul 18, 2010 12:10 pm

Hi all,

I have a design which has knots in it and am struggling to fill the areas I want. I read about inkscape's fill methods and believe I have selected the right one. I have also added the knot effect to my diagram and specified which subpaths should be on top and which on the bottom. However, when I fill it, it misses to fill one region - please can someone shed more light on this? Please refer to attached diagram - you can see the white region on the middle section - this should be filled.

Regards,
Kunal.
Attachments
Logo.png
Logo.png (31.68 KiB) Viewed 1934 times

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Filling knots in inkscape

Postby ~suv » Sun Jul 18, 2010 2:10 pm

The 'Knot' path effect only works on the crossings of the path and cannot handle or adjust its fill with the path effect applied. It is not possibly (with available fill rules and path logic) to fill the 'knotted' path as you'd like to without either breaking it apart or at least closing the sub-paths as needed (using the node tool) - and this can only be done after converting the live path effect into a static path (menu 'Path > Object to Path').
Attachments
LPE-knots-Logo-3.png
LPE-knots-Logo-3.png (36.33 KiB) Viewed 1926 times
LPE-knots-Logo-3.svg
(22.79 KiB) Downloaded 206 times

kunalbedse
Posts: 2
Joined: Sun Jul 18, 2010 12:05 pm

Re: Filling knots in inkscape

Postby kunalbedse » Sun Jul 18, 2010 3:40 pm

That is perfect - exactly what I needed !!! Thanks a lot for your help!!

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Filling knots in inkscape

Postby druban » Mon Jul 19, 2010 9:36 am

Is anyone else having the problem with this effect (knot LPE) that everything works except when you try to use the node tool to switch the crossings - and then Inkscape quits without any warning or comment - or apology (sorry, inkscape has to close due to ...)

In fairness, i am using a 0.48 pre version. It has worked so well that i removed all previous versions already.

i get around it by converting object to path as soon as i apply the LPE.
Your mind is what you think it is.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Filling knots in inkscape

Postby ~suv » Mon Jul 19, 2010 11:01 am

druban wrote:Is anyone else having the problem with this effect (knot LPE) that everything works except when you try to use the node tool to switch the crossings - and then Inkscape quits without any warning or comment - or apology (sorry, inkscape has to close due to ...)

The document attached to my previous comment was created with Inkscape 0.47 (to verify the steps with the current stable version). When repeating and testing the Knot path effect in current development builds (0.47+devel r9620, r9623) and the prerelase version (0.48pre1, 0.48.x r9613) I did notice that the new node tool is less stable when editing the Knot path effect parameters (random crashes when dragging the switcher on certain paths, or when repeatedly changing the knot type on certain nodes) and gives inconsistent results with certain path segments (closing straight lines).

As a result I filed Bug #606859 in Inkscape: “Knot LPE ignores not-redundant 'z' segments”. My plans are to further investigate the crashes and file a separate report for those (unless it turns out that the underlying issue has already been filed or someone beats me to it ;-) ).


Return to “Help with using Inkscape”