Inconsistent Perp Frames using GetPerpendicularFrames Method

Hi Everyone,

I am trying to achieve the result of Grasshopper PerpFrames component using the GetPerpendicularFrames in C# but it is not working as expected.

I did Reparameterize the curve input, but not sure if that is the problem?

Any advise on what might have gone wrong?

Thank you.

Hi @crayon.ssshinchan,

This is almost never a good idea. When curves and surfaces are parameterized with a [0,1] domain, both the accuracy and the precision of geometric calculations like intersections and closest points are reduced, sometimes dramatically.

Feel free to post your geometry and your C# source code.

Thanks,

– Dale