[script] Morph between two curves

 From:  Michael Gibson
6373.15 In reply to 6373.14 
Hi danperk, also for doing that kind of hatching trimming, you can use curve booleans as a shortcut instead of using Edit > Trim which it looks like you're doing there.

Start with all the hatch lines selected:



Run Construct > Boolean > Intersection, then select the closed curve region boundaries. That will then generate a result like this:




The lines will be cut by the boundary and only the parts of the line that are on the active area of the 2D region will be kept.

If you want the other way, use difference instead, that will slice away the stuff inside the active 2D region like this:



You can use Trim too, the booleans just basically automate the picking of which pieces to discard or keep.

- Michael