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.