how to join selected nodes of two objects,spiral and bezier

Post questions on how to use or achieve an effect in Inkscape.
mjkrakowski
Posts: 6
Joined: Wed May 21, 2014 12:27 am

how to join selected nodes of two objects,spiral and bezier

Postby mjkrakowski » Tue Nov 18, 2014 5:07 am

Hello, i cant join two selected nodes of two different objects, one is spirale(object is converted to path) the other bezier.
My goal is to set a fill color for the whole thing. Here are some screenshots.
Many thanks for answers!
Attachments
INKSCAPE.PNG
INKSCAPE.PNG (35.95 KiB) Viewed 2759 times
INKSCAPE2.PNG
INKSCAPE2.PNG (48.38 KiB) Viewed 2759 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: how to join selected nodes of two objects,spiral and bez

Postby Lazur » Tue Nov 18, 2014 5:32 am

Hi.

You can use the snapping to smooth and cusp nodes option in the toolbar to remove any gap between those nodes.
However, for such a colouring, you will need to have at least two separate objects for the fill, and for the outlines.

A quick solution would be to combine the outlines first (Ctrl+K),
duplicate the path, set a bit thinner stroke width, convert stroke to path (Ctrl+Alt+C),
add in some transparency -about 50% will be good-,
break apart the path (Ctrl+Shift+K), delete the unnecessary subpaths and if necessary, combine missing "holes" back in the larger path.
Change fill to 100% opacity and move path to bottom (End).

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: how to join selected nodes of two objects,spiral and bez

Postby Xav » Tue Nov 18, 2014 6:04 pm

It's also worth noting that, in the SVG world, a node can only have one or two lines connected to it - so you can't make any sort of "T-junction", which is what I think you want to do from the screenshot.

As Lazur said, the workaround is to have two separate objects - one for the fill and one for the strokes.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

mjkrakowski
Posts: 6
Joined: Wed May 21, 2014 12:27 am

Re: how to join selected nodes of two objects,spiral and bez

Postby mjkrakowski » Thu Nov 20, 2014 5:42 am

Thanks for the answers. maybe its possibile to draw the path different from scratch, so the problem can be solved different, i will try a bit.

mjkrakowski
Posts: 6
Joined: Wed May 21, 2014 12:27 am

Re: how to join selected nodes of two objects,spiral and bez

Postby mjkrakowski » Thu Nov 20, 2014 6:08 am

oke, my idea is now, convert the spirale with "convert selected objects stroke to path", now i can place a new surface out of the spirale as in the following screenshot:
Attachments
INKSCAPE3.PNG
INKSCAPE3.PNG (44.08 KiB) Viewed 2662 times

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: how to join selected nodes of two objects,spiral and bez

Postby Xav » Thu Nov 20, 2014 5:55 pm

That should let you join the outlines (provided you also use "stroke to path" on the other line), but you won't be able to fill them in the way you want - any fill you apply will affect the spiral and line, not their "insides", so you'll still need another shape below them for the fill.

The best answer is probably to not worry about the lines joining (unless there's a specific reason why they have to), but just to make them overlap to give the same visual effect. Then create another object for the fill and send it to the back. Finally, group all the objects so you can move them around as one.

As is so often the case, providing the SVG file would make it a lot easier for us to see what you're trying to do and perhaps provide more specific advice.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: how to join selected nodes of two objects,spiral and bez

Postby Lazur » Fri Nov 21, 2014 12:23 am

Attached is an svg illustrating how my previously described solution would work in action.
May help to make it clearer.
Attachments
hlp158.svg
(33.87 KiB) Downloaded 179 times


Return to “Help with using Inkscape”