I’m applying box mapping to a list of meshes, which have different orientation in the World XY plane.
tm = Rhino.Render.TextureMapping.CreateBoxMapping(plane, new Interval(-width, width), new Interval(-width, width), new Interval(-width, width), true);
I’m struggling with defining a plane for each of the meshes, which would give me the object’s orientation. Similar to how a Gumball can be aligned to objects:
Or one can access the underlying planes for some curves:
var circle = new Circle(); plane = circle.Plane;
Any ideas on how to get a plane oriented to mesh geometry?