I am running through an issue using RhinoScriptSyntax. I want to create planes along a curve and I want them to be centered on the curve. I am using the rs.PlaneFromNormal() function and it creates a plane with the origin being the point on the curve. The planes aren’t parallel to any global C-plane or global axis.
Now I want the plane to be centered on that point. For that I can use both rs.MovePlane() or rs.Move Object() but I need in both cases (new origin or translation vector) I need the center of the plane.
I didn’t find how to create the contour of my plane to use rs.CurveAreaCentroid(). And neither how to create a diagonal to get its center point.
If any of you has already faced the problem, I’d be very glad to hear how you solved it.