Grasshopper

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

Views: 2439

Replies to This Discussion

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

Attachments:

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? 

I'm sorry I'm kind of new. How do you get to the source files?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service