Cut the end and start from a extruded SVG

I have a problem with extruding an svg in three.js.
this is the result of my code.

But I need to cut the end and beginning of this model like the following picture.

can i do this after extruding the 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