Stop loft of 3D curve when loft self intersects?

Hello,
I have a 3D curve that I’m trying to extrude. During the axis extrusion, there is collision where the line double backs on itself creating surface.

I’m ultimately trying to mill this piece on a lathe, however this ridge adds material to the true model.

Is there a way to restrict the loft so it does not create a surface in the closed loop portion?

I have attached my .gh and a picture of the physical milling the model to help show the issue.

Thanks!
11.06.2021_08.23.59_REC
3D_projection_curve.gh (13.1 KB)


11.06.2021_08.38.59_REC

Maybe like this?

3D_projection_curve_RE.gh (21.1 KB)