Mobile app version of vmapp.org
Login or Join
Jessie844

: How to trim a bunch of open curves with a closed shape in Adobe Illustrator? Suppose I've drawn a bunch of open curves like these: Then I add a closed shape (circle) on top of them:

@Jessie844

Posted in: #AdobeIllustrator #ClippingMask #Vector

Suppose I've drawn a bunch of open curves like these:



Then I add a closed shape (circle) on top of them:



I know that I can use a clipping mask to only show the parts of the curves inside of the shape:



But I would like to "apply" this clipping mask, in the sense that I'd like to literal cut each curve by the outline of the closed shape and only keep the parts that remain inside. I can use the scissors tool to do this manually and then delete.



But is there an automatic way to do this?

I've tried all combinations of the pathfinder tools but cannot get this result.

(I'm also open to non Illustrator solutions so long as the output is a set of vector graphics curves).

Edit: I'd really like to do this on the strokes rather than resorting to outline/expanding the open curves first. In that case, I could use Outline Stroke, then Make Compound Path, then Intersect to get:



But this results in filled regions shaped according to the original width of the strokes. They're no longer editable as open strokes.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Jessie844

3 Comments

Sorted by latest first Latest Oldest Best

 

@Gloria351

The Shape Builder Tool (as demonstrated by Metis) does a pretty nice job... But what if you have an older version of AI which doesn't have Shaper?

Here is a dirty way to do this but it does the trick (if you don't need the circle 'crop' to be 100% perfect):


Lock the circle layer (we'll just use it as a guide) and select all of your loose paths
Hit Shift+E to activate the Eraser Tool and click+drag over the circle
Press the Q key to activate the Lasso Tool and drag a selection around those parts you wish to keep
Go to Select > Inverse and hit the Del key, then get rid of the circle


A demonstration:



Or... if you have lots of room to play with – just make your Eraser bigger and wipe them out completely in one step:



~~~~~~~~ ~~~~~~~~ ~~~~~~~~

Update:

I found another option for those without the Shape Builder Tool; an Illustrator plugin which can accomplish this with more precision, using just one tool:

The Hatchet Tool (available here)



Here it is in action:

10% popularity Vote Up Vote Down


 

@Murray976

One method would be to just click the Outline button on the Pathfinder Panel, reapply the stroke, then remove unwanted pieces.



This keeps the strokes as strokes rather than expanding them. If you are okay with expanding the strokes, you can expand everything then Pathfinder -> Merge and then delete unwanted pieces. Or adjust pathfinder options to remove unpainted objects (In the panel menu), then expand and crop and reapply fills.

Or you could select it all and use the Shape Builder Tool with the Option/Alt key held down to drag across pieces you want removed.....

10% popularity Vote Up Vote Down


 

@Berumen635

From your picture #2 , if all squiggles are Grouped and on the same layer and the blue circle is a closed path, than select circle and squiggles and use Pathfinder>Outline.

Ungroup and remove whatever remains of the circle shape and squiggle tails that fell outside the circle and the result will be the portions of squiggles within the circle.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme