Grasshopper

generative modeling for Rhino

# New to Grasshopper, need ideas.

Hey everybody,

So I saw grasshopper on a classmates laptop and my mind was blown. I downloaded it last night and started playing around trying make a definintion for an architecture project Ive been working on. Wondering if I could get some ideas on how to do this.

So what im trying to achieve is a definition that creates rectangles that are a certain distance away from some lines running through the boundary of where these boxes can be. I also need these rectangles to be relatively equally spaced from one another.

So far I have figured out how to create some distance logic using closest point between a field of cubes on a RecGrid and points generated by dividing the lines.

Going forward I think I'm going to have to use another closest point with orient to get them to line up perpindicular to the line point at the distance I need them to be.

What I'm having a hard time trying to figure out is how will I have grasshopper select a combination of cubes at the pre-defined range that are relatively equally spaced out.

Any ideas?

Tags: Distance, Orient, Spacing

Views: 81

### Replies to This Discussion

bump
Could you supply an image of what it is roughly you're looking for? And ideally what you have already...

--
David Rutten
david@mcneel.com
Hi Kameron,

Sorry if nobody had replied yet. It is usually good for people who want to help you to see what you have so far... maybe they can point you in one direction. Or maybe you could be also interested in reading Andy Payne's manual from here: http://www.grasshopper3d.com/page/tutorials-1 - written for Gh 0.6.

About selecting items, this is often done through list culling (Cull Pattern) or Dispatch (which has a similar logic but also retrieves the "negative part"). Also Graph mappers, List item, Tree branches, etc, etc.. might help. Have a look at the "Sets" > "List" and "Tree" (Gh. 0.7) or "Logic" -> "Sets" (gh 0.6) tab bar.

I hope this helps getting started,
best,

- Giulio
_____________________
giulio@mcneel.com
McNeel Europe, Barcelona

• View All