@Helvetosaur wrote:
HI all,
Having a brain fart here - I have some RhinoCommon geometry (curves, surfaces that are not in the document), and I need to get a plane-aligned bounding box for each with a plane that is not one of the principal XYZ planes. I need to do this a lot of times.
I have tried with
xform = Rhino.Geometry.Transform.ChangeBasis(Rhino.Geometry.Plane.WorldXY, ref_plane) #and then bb=obj.GetBoundingBox(xform) #one single object herethen getting the corner points and transforming them in the other direction, but this still seems to get me a world-aligned bounding box…
bb=obj.GetBoundingBox(ref_plane)Didn’t work either…
Thx, --Mitch
Posts: 2
Participants: 2