algorithmic modeling for Rhino
Fairly new to Grasshopper here and just missing something simple I'm sure. I've got a rhino object instance that I'm trying to create a bounding box around to find the center point of a surface. However it looks like the bounding box is locating itself on to the origin point of the object or the 0,0,0 point or something in rhino. I experimented with the plane input on the BBox component with no success. Anyone have any ideas on what's happening? Thanks!
Excited to become part of the gh community,
Shaun
Tags:
Hi Shaun -
I know it's a bit confusing, but the bbox output is actually the bounding box around the DEFINITION of the block, rather than the specific instance you have selected. If you want the bounding box of the specific instance, just plug a regular bounding box component (like the one in your screenshot) to the "geo" output of the block explode component. If there are multiple pieces of geometry in the block, you may need to change the bounding box component to create a "union box" instead of "per object"
Hope that helps!
Hi Andrew,
Thanks for the reply! I played with it a bit more on friday and was able to get about what you suggested however the bounding box is still locating itself at the project origin. Could it be something to do with the file being a dwg exported from Revit?
What I'm trying to do is locate doubled block instances in a model exported from revit. We just had a project where the model we received was built incorrectly and there was a section of the building where there were 2 blocks inside each other with no visual ques. When a schedule was produced it counted the extra blocks. My plan with gh was to create a bounding box around each of the blocks and use the coordinates of the center points to tell if there are multiple blocks in 1 place and locate them in the model. Does that sound like it makes sense as an approach to the problem?
Thanks for your reply!
Shaun
that seems like it might be a bug - but it's hard to tell. Is there any way you can send me the source files?
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by