I have made a few mountains, but I want them to fit nicely inside a hexagon:

So, I want to take a circle out of them, only render what’s inside the circle, and erase whatever is outside.

I’ve tried clipping masks, but I got weird results.

How can I do that?

  • Welcome to Graphic Design SE. It may improve your question if you show or describe what weird results you got.
    – Wrzlprmft
    Feb 9 '19 at 10:13
  • Duly noted. I will try to do so in the future!
    – truvaking
    Feb 9 '19 at 20:38

Group your triangles. Select that group and the circle. Goto Object > Clipping Mask > Make. Be sure that nothig else is selected and the circle is above the group. You may notice that when your mouse hovers over the vanished parts, Illustrator occasionally show the vanished parts with the used layer registration color. But that's only in Illustrator.

If that's too weird, you can use the shape builder and recreate the wanted areas by filling them with colors. Or you can lock everything else and divide with the circle objects below. Select only the circle and apply Object > Path > Divide Objects Below. In both cases you may need to ungroup and manually delete the remnants.

Here's an example of the division. All triangles are closed paths.Separate line segments will not be divided.

enter image description here

If you have grouped all triangles and used the circle as a clipping mask, you see now and then ghosts like this:

enter image description here

They do not any harm, they only rememind you that here is a masked shape.

Clipping mask doesn't create a stroke along the clipping border. The other presented methods create one and that can be harmful.

  • Very good answer and pictures :-) My compliments.
    – Sebastiano
    Feb 10 '19 at 20:18

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.