1

I'm new to Illustrator and it is driving me nuts.

What I want to do is simply subtract a rectangle from a circle

first

On top of it, I draw a white rectangle, and use the Subtract from front from the Pathfinder.

What I get is:

sdf

while I expect

wanted

2
  • 1
    Illustrator does drive people nuts for the first few months. Then it slowly all falls into place, and suddenly you don't know how you lived without it. Here, the reason it's doing what it does is it doesn't know you only care about the stroke of the circle. It thinks of it as a solid circle that happens to have fill set to no fill and a thick outline. You might give it a fill later. So it takes a chunk out as if it was a solid circle. If you want a shape that is treated as just the outline, you need to create a shape that is just the outline (e.g. by using 'outline stroke' as people below say) Commented Jun 13, 2012 at 22:00
  • @user568458 Ah, thanks for the explanation. Suddenly it all makes sense now.
    – ustun
    Commented Jun 14, 2012 at 7:54

2 Answers 2

5

Simply use the Direct Selection Tool (the white arrow) to click the two inner anchors and hit delete.

Anchors to delete

It merely takes an extra step. Not everything is possible with a single click.

You will notice however, with your current method the ends of the open section will be angled on the circle's arc. They will not be square as in your desired example.

If you want the end caps to be squared, you need to expand the circle so it's a shape rather than a stroked path. Simply select the circle and choose Object > Expand. Then proceed to draw a rectangle and use pathfinder to minus front and you will get the desired results.

0
3

Outline the circle first - it appears that your stroke is fairly thick, and it's just taking that small chunk out.

Create your circle, select it, then select Edit -> Path -> Outline Stroke (you'll want to make sure your stroke is thick enough). Then perform your subtraction operation.

0

Your Answer

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

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