Grasshopper

algorithmic modeling for Rhino

Hi, 

Basically I've modeled up several forms which comprise of groups of geometry, to represent a structure. What I would like to do is aggregate these geometries, into a larger mega-structure. Easiest way to imagine this is I've made a really complicated looking brick and I want to randomly mass with with other bricks.

Now I know about the Bounding Box Component. I guess what I really want to know is if I've generated a series of points in a larger bounding area (so across xyz space) is there a method of then plugging in the bounding box component to generate the grouped geometries randomly at these points? From there I think I can do my own test to try and work out what I'd like to further do.

Cheers  

Attached an image from Yuta Sano who seems to have done something similar. I hope so anyway, I'd hate to think he manually constructed that. He's got about 12 pieces of grouped geometry he just randomly replicates through a space.

Views: 1443

Attachments:

Replies to This Discussion

Beautiful.

Perhaps the BoxMorph component would help you, see attached image.

I've had a play around with that but it seems to only operate on one plane, whereas I would like to work in 3D space.

You could move the target boxes in the z value right?

Thankyou for answering btw, that was rude of me.

You could, I'm assuming it would have to become an iterative process then. So generate the boxes, random movement, building it upwards repeatedly. It's one way to go.  

Just so I understand your script though, the target brep component, what is informing that? I'm assuming that's a re-labelled brep component? Did you manually make the breps data? and am I wrong or are the boxes in your image in a grid formation and just randomly proportioned? 

Yes, the target breps contains some quickly drawn random boxes, the breps to be grouped contains a random group of buildings. You could add complexity by rotating groups, adding different groups of geometries, etc. Good luck! 

Thanks man, quick follow up question. Hypothetically if I had two groups and two target breps, would I be able to using the morph box, randomly put one group at each target brep? Atm your script when using two groups replicates both groups at both target breps.

All good actually I was just grafting it wrong

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service