I need to create a BBox on any Objects, i use boundingbox and AddBox, that’s work on 3D Objects ( curves/Surfaces/polysurfaces) , but if my object is planar (2D) i can’t , the Rhino.BoundingBox() return 8 ¨points, but AddBox fail , i think because 4 points are at the same exact place.
In Rhino boundingBox command, we can choose 2D cuves as output , but i don’t find same possibility in rhinoscript.
Is there a way to use Addbox ( or something similar) on planar objects ?
Dim strObject, arrBox, sfrBox
strObject = Rhino.GetObject("Select object",, True, True) arrBox = Rhino.BoundingBox(strObject) sfrBox = Rhino.AddBox(arrBox)