How to "reuse" a Bezier curve?

Post questions on how to use or achieve an effect in Inkscape.
4of92000
Posts: 2
Joined: Tue Oct 08, 2013 7:43 am

How to "reuse" a Bezier curve?

Postby 4of92000 » Tue Apr 01, 2014 4:55 am

How do I use a Bezier curve as a border for two different objects at the same time? Like, if I am making a yin-yang, and I already have the yin, how do I reuse the curvy in the middle for the yang?

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

Re: How to "reuse" a Bezier curve?

Postby Lazur » Tue Apr 01, 2014 5:30 am

Hi.

For the yin-yang example, once you duplicated it, simply rotating it 180° would do the trick, so it's not really a "re-use".

To do it the other way, by node editing, there is an icon to split nodes -click on it once the starting and end node is selected of the part you want to use somewhere else on a duplicant, break the path apart (Ctrl+Shift+K), and delete the unnecessary object.

Anyway, it is not a good solution to draw paths this way next to eachother as there will be always some rendering issues with it.
Try to hide one object below the other -like draw the yin part with a circle, and the yang part above it.

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: How to "reuse" a Bezier curve?

Postby ragstian » Tue Apr 01, 2014 6:32 am

Hi

When you have the yin;
make a circle,
duplicate the yin,
select yin and circle
do a path difference.

You now have a yin and yang.

RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

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

Re: How to "reuse" a Bezier curve?

Postby Lazur » Tue Apr 01, 2014 8:08 pm

In this svg* for example the same path segments are used next to each other.
There is a dark grey rectangle at the bottom, which results in a small edge between the paths in look -if there was no rectangle there, that part would be transparent.

When you use a boolean operation, like difference, the nodes will move a small bit -about 0,02 pixels-, that would make larger "gaps".



[promotion]
*There is a decorated egg contest it was made for;
join in if you like!
[/promotion]


Return to “Help with using Inkscape”