Grasshopper

algorithmic modeling for Rhino

Hello all,

I'm new to GH and I would like to ask some help to design a spatial grid that wrap up a box or any other shape.

Basically I need to repeat a module –designed in Rhino– of dimension 2x2x1 meters to generate what is a very simple scaffolding. I attach few sketches to make it clearer!

What I've achieved so far made me able to manage the repetition of the module with a series component but I am not able yet to make the scaffold go around a polygon (house perimeter). 

If you can give me some tips as to how I should do this, I will really appreciate it. Thanks very much!

Views: 687

Attachments:

Replies to This Discussion

Hello Alberto,

An approach to do this could be the following:

1 - Divide your "house perimeter" polyline into points and create planes with with the desired orientation.

2 - Orient your geometry onto the planes.

You will need to know a little about planes and data structure in order do this. The Grasshopper Primer is a good place to start to learn.

In the attached file your "house perimeter" polyline is exploded into seperate lines. The script gets somewhat more difficult if you want to work from a single polyline, since your sketch doesn't really show a clear rule on how you wrap around the corners.

Good luck with your project,

Anders

Attachments:

Thank you very much Anders! Your approach is great for what I have to do!

So, just to make sure I understand well, I better kind of simplify my perimeter manually in order to get lines, right? Same to get the CenterPoint...I place it manually in what it looks like the barycentre

of the shape, correct?

Thank you!!

Alberto

The center point was just used as a "guide" for approximating the Y axis of the planes. I have replaced that part by rotating the X-Vector by 90 degrees to find the Y axis of the planes. See script below.

If you want to place your objects along the inside of the line (instead of along the outside), you can manually flip the lines in Rhino (command: flip).

Attachments:

Ok Great! Thank you! One more thing...I'm dealing now with more "complex" and not-regular perimeter (file attached), what should I looking for in order to start form a single polyline instead of lines? Let's assume to consider the rule you used to wrap around the corners, that's fine!

Thank you!

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service