Cut the end and start from a extruded SVG

The closest thing I can think of is this: Three-mesh-bvh: A plugin for fast geometry raycasting and spatial queries! - #18 by gkjohnson