5

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 an 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?

1 Answer 1

7

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.

1
  • 1
    Wow, thank you very much. That was my question!
    – erik
    Nov 5, 2013 at 12:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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