WOW, Damien, visose,
Thank you both VERY much. That resolves the issue quite well, in two different ways. Thank you thank you thank you. -Ben On Jan 7, 4:36 am, visose <[email protected]> wrote: > Sort of like > this:http://grasshopper3d.googlegroups.com/web/boundingboxplane.jpg > On Jan 7, 5:06 am, visose <[email protected]> wrote: > > > You can also do it using two 'orient' components. First use the orient > > component to bring the geometry to the XY plane, create the bounding > > box and then use another 'orient' component to bring back the bounding > > box to the original orientation. > > > On Jan 7, 4:42 am, damien_alomar <[email protected]> wrote: > > > > Ben, > > > > There isn't a way to directly do this, but through a scripting > > > component you can. I went through and put this together for you. The > > > component outputs the corners of the oriented box. I'm not 100% sure > > > what you wanted for the output, but if you want a box you should be > > > able to put it together from the points. The script is setup to > > > calculate the bounding box base on all of the geometry that's > > > supplied, so if you need separate bounding boxes you'll have to use > > > separate components. All the geometry has to be a Brep, so just add a > > > BRep parameter and pass the objects through that. Multiple orienting > > > planes are accepted. Hope this helps you out... > > > > Screencaphttp://grasshopper3d.googlegroups.com/web/orientedBB_dpa.jpg?hl=en&gs... > > > > GH > > > Definitionhttp://grasshopper3d.googlegroups.com/web/orientedBB_dpa.ghx?hl=en&gs... > > > > Best, > > > Damien > > > > On Jan 3, 10:07 pm, Ben <[email protected]> wrote: > > > > > Is there a way to orient a Bounding Box to a plane, rather than to the > > > > word axes? > > > > I can orient the box after it is made, but then it no longer > > > > accurately "bounds" the geometry. > > > > I would like to create a bounding box that is oriented to a plane, > > > > similar to the way one can create a bounding box based on a CPlane in > > > > Rhino. > > > > > Any help is greatly appreciated! > > > > > Thanks, > > > > > Ben (newbie)
