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...
Screencap http://grasshopper3d.googlegroups.com/web/orientedBB_dpa.jpg?hl=en&gsc=Qc5pSBYAAAAQ0TbpPrX4Z6yQrGqxO84t-vghgYgES8zAzJdW7J9-8w GH Definition http://grasshopper3d.googlegroups.com/web/orientedBB_dpa.ghx?hl=en&gsc=Qc5pSBYAAAAQ0TbpPrX4Z6yQrGqxO84t-vghgYgES8zAzJdW7J9-8w 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)
