Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I use Inkscape: Imagine I have a shape like an O which is a path. Or better said: Two paths, one for the outer boundary and another for the inner boundary. But it is one object (one path??). If I change the fill color, then the color of the O changes, e.g. to orange.

Now what I want to do is to get the inner boundary path and connect it to another circular path that is inside the O. I want to connect it in a way to be able to fill it with a color, e.g. pink.

The result would be a O, which is orange and inside of that, but connected to the O’s inner boundary, a pink thingy (e.g. another O).

How can I achive that? I mean, how can I reuse the inner path of the O?

Is it possible without manually selecting all the nodes?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Your question is a bit unclear, perhaps a image could help.

If I have understood, you are starting from a "O" like object, like this (I've used the text tool to write an "O" and then I've used path->object to path):

enter image description here

And you want to achieve a sort of two "O" nested:

enter image description here

Starting from the first object, the orange one, this is composed by two paths: external and internal

enter image description here

I've used path->break apart to divide the object in two paths:

enter image description here

Then, I've selected the inner path, duplicated it (by copying and pasting it), filled with pink and centred the new path to the inner path (using align and distribute tools):

enter image description here

Here, I've selected the three paths, unselected the pink one (shift-click) and used path->combine to restore the orange "O". Then, I've copied the pink path, pasted and centred on the first pink path, select just this pink path and scaled it while pressing control and shift (uniform scaling centered on the object):

enter image description here

Finally, I've selected both the pink paths and used path->difference:

enter image description here

Perhaps it's simpler to perform than to describe.

share|improve this answer
1  
Wow, thank you very much. That was my question! –  erik Nov 5 '13 at 12:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.