22

I've created a path with a stroke and a fill of the same color, and I'd like to remove the stroke while preserving the size/shape of the object. Is there a simple way to do this?

In other words, I'm looking for something like a "Stroke-and-Fill to Path"

The best solution that I have come up with so far is to use "Stroke To Path" and then delete all of the inner nodes.

25

An alternative to DA01's answer:

  1. Select an object.

  2. Convert selected object's stroke to paths (Ctrl + Alt + C).

  3. Break apart the path (Ctrl + Shift + K).

  4. Delete the inside path by clicking somewhere outside, then clicking in the center and deleting.

enter image description here

  • That's actually a better alternative! Saves a few steps. Good tip! – DA01 Oct 13 '14 at 3:01
  • 1
    What a life-saver! You can also use this to preserve a transparent outline for two adjacent objects - if you delete the outer path. Great! – mvreijn Jan 19 at 12:08
13

The best solution that I have come up with so far is to use "Stroke To Path" and then delete all of the inner nodes.

Yep. That's how you do it.

If you want to save a bit of time, you could do this:

  • Select object
  • EDIT > DUPLICATE
  • select this duplicate and remove the stroke
  • deselect the duplicate object on top and select the original below
  • PATH > STROKE TO PATH
  • now select both items together and PATH > UNION

That will save you the step of having to delete the inner nodes.

1

Not the most elegant solution, but if you don't need too much precision you can just take the path with stroke and click in it with the paint bucket tool (you may set a little bigger stroke on the path). I sometimes use this stupid trick with letters or logos, becouse the union-method explained above often leaves nodes and imperfections in the final path.

Still in need for a specific tool (it would be useful).

Good luck!

1

select erasing existing paths tool and aply it just on the border you want to remove.

1

1) select the object by "edit paths by nodes (F2)". it is 2nd item on left.

2) CTRL+X / Cut

3) Again select the object

4) Go to Object -> Fill and Stroke

Now you won't have white borders when you color the object.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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