Slicing Nurbs Curves

I have a Nurbs Curve (Green).
This curve intersects with a ground plane (blue)


I want to close to curve using the blue line, so that in essence, the nurbs curve has a straight edge at the ground plane.

Is it possible to slice a nurbs curve to achieve this straight edge? The end product I’m hoping for here is a closed curve-loop I can use as a profile for a solid.

(If I try the close loop option on the Nurbs Curve it makes an egg like the below:

Egg = Bad
Sliced egg with straight edge = good

Any ideas smart people?

Convert the sliced curved into a polycurve with a PolyCurve.ByJoinedCurves node. Then use a PolyCurve.CloseWithLine node to close the profile.

2 Likes

I had not thought that you could turn a Nurbs into a polyline so simply! I tried doing it with shitloads of points but that gave me lots of tiny straight edges.

Thanks for the tip, very concise solution :+1:

2 Likes