Grasshopper

algorithmic modeling for Rhino

Hi ! 

I'm trying to design a truss structure in between two curved surfaces. The design pattern is in attachment (ARK_triangle truss). It is mainly made by triangles. I achieved to do it for one, but i have no clue how i could repeat this cluster on the whole surface.

Here is the grasshopper and rhino file. I'm wondering that maybe i should use hoopSnake ? 

Thank you so much in advance for your suggestions and advice !

Mathieu 

Views: 1090

Attachments:

Replies to This Discussion

Some more details needed (?)

If seen from above (parallel view) this truss would be like only a grid of triangles?

I assumed this as 'yes' ....

But your 2 surfaces doesn't have the same shape from above...

Here's a summary of what I did:

-projected both surfaces to XY world plane

-done intersection from those 2 boundaries (common area > working area)

-offset this last area to get some tolerance (maybe unneeded)

-by using coordinates from bounding boxes and some trigonometry I've created an array of points and then rotated each column around the first point of each column by -60° (-pi/3) to achieve a triangular grid

-again with "info" from bounding boxes created vertical lines enough long to always pass through both surfaces

-with intersect component + grafting + trim/partitioning/replacing created final points tree with this structure: { collided surface index ; U coordinate } ( V coordinate )

-finally with Relative Item components and specific offsets created every lines wanted (and also more)

EDIT:

Attachments:

Hi Riccardo ! thank you some much ! that's amazing ! 

thank you for your time and  how you explained me what you have done. It will help me a lot to improve my knowledge on grasshopper. 

I get more or less the algorithm, but i think i'm going to do it again to make sure that i understand what you are doing. 

Thank you again ! 

Good initiative.

That's the best way to learn well grasshopper.

(I did a mistake in explanation, rotated each column by -30° (-pi/6) )

There would be many ways to solve this problem, but I think this method is ok because intersection surface-line is done only one time, so no double points and such.

Intersect (heavy part) > managing > linking (lines)

Other methods could be shorter (in number of components) but maybe heavier.

If you still have questions feel free to ask....

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