2

I want to make a simple gear. I made first circle, and then made a second circle. Next, I used the Difference operation on the two.

My unpretty gear

The problem is the resulting object has a stroke on the outside and the inside. I don't need the stroke on the inside. How do I get rid of it?

1

If your path contains 2 independent closed curves (the exterior and the interior strokes), then you can do Path->Break Apart to transform this into 2 separate paths (manual).

Delete the one you don't like.

1

One path can't have two different strokes. When you did the difference operation, you ended up with one path. If you use Inkscape XML Editor Ctrl + Shift + X and examine the object, you'll see that it's one path.

To only have the stroke on the outside of the object, you'll need to have two path. There are two ways to do this.

Use a second path for the outer border

This technique has the advantage that it allows the how inside the gear to remain transparent.

  1. Change the object's stroke to none.
  2. Duplicate the object with Ctrl + D.
    It might not be obvious, but you created a clone directly on top of the existing object.
  3. Use the Node editor F2 to delete the inner circle of the top path.
  4. Change the fill to none and the stroke to whatever you want.

Use a second path for the inner circle

This method has the disadvantage that the inner circle won't be transparent.

  1. Break the path apart with kbd>Ctrl + Shift + K.
    This essentially undoes the difference operation you performed.
  2. Select the inner circle and change the stroke to none and the fill to white.

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.