@Cyver wrote:
Hi all,
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 ?
Thx !
Call Main()
Sub Main()
Dim strObject, arrBox, sfrBoxstrObject = Rhino.GetObject("Select object",, True, True) arrBox = Rhino.BoundingBox(strObject) sfrBox = Rhino.AddBox(arrBox)
End Sub
Posts: 4
Participants: 3