19

Like, I have this shape:

enter image description here

Which is all contour and no fill. And I want to subtract those contours from another, let's say a colored circle with a slightly bigger ratio, such that the design will look like this in the end:

enter image description here

Which is all fill (the colored parts of the former circle) and no contours.

And yet, when I try to subtract one from the other, the result is just a circle-sized hole in the colored circle. What am I doing wrong?!

1

1 Answer 1

23

Inkscape's Path > Difference only works on the fill areas of objects (no matter whether you filled them or not).

As Paolo commented, you have to convert the stroke to a filled object.

For a single line object

  1. Select the line and convert the stroke to a fill. Path > Stroke to path or Ctrl+Alt+C.

  2. Put the line above the circle. Select the line and the circle. Subtract. Path > Difference or Ctrl+-.

For multiple line objects

  1. Select the lines and ungroup them. Object > Ungroup or Ctrl+Shift+G.
    If you didn't use a group you don't have to do this. If you used multiple nested groups you have to do this multiple times until all lines are completely ungrouped.

  2. Convert strokes to fills. Path > Stroke to path or Ctrl+Alt+C.

  3. Unite the lines. Path > Union or Ctrl++.

  4. Put the lines above the circle. Select the lines and the circle. Subtract. Path > Difference or Ctrl+-.

0

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.