Hi,
We create the intersection between a 3D surface and a plane, then we do a Rhino.Geometry.SweepOneRail using the intersection curve as the rail. In one particular case, we obtained a twisted rail. Dividing the rail into many small segments, we’ve noticed that there is a specific point where the twist happens.
Do you have any advice to avoid this to ensure that the rail is always on the correct side of the surface?
Dale helped us fix the above issue, and in case somebody else gets the same problem, the solution was not to include in the code the option Roadlike Top during the SweepOneRail.