Grasshopper

algorithmic modeling for Rhino

99e951f882bf3894f83b4085dacdfd06.jpg

hi guys i want to do something like the shape in grasshopper but dont know how to do the rotated part 

thank you 

Views: 1419

Replies to This Discussion

You associate the rotation angle (around the central axis) with the height via some equation or graph curve. Looks like it might be an Atan or maybe a Logistic equation.

thank you David

Hi faya

One way attached..

Attachments:

Looks good!  I added the diagonal curves to connect the corner points:

Attachments:

thank you very much Filip!

hi joseph, since i want to have the base rectangle varying different sizes, so I added new rectangles to the algorithem, but seems something is wrong and the rotation doesnt work, overall later i might set the base shapes (rectangles) manually. thank you for your time

attached is the new script 

Attachments:

I can quickly see several errors that have been introduced between the version that works and the one that doesn't.  You have to be able to see these things for yourself.  When you break working code, you own it.

i did it thank you very much!

Congratulations.

I guess I could have added that the debug tool I use most frequently is the panel - the text output of GH components in panels is EXTREMELY informative about data flow, both tree/branch structure and values.  Connect as many as you need to the outputs of every single component to see what is happening.  Not in series!  Don't run data through them; delete panels when you don't need them anymore. 

thank you for your help!

Are you trying to achieve an effect like this?  I got this by simply moving the center of rotation using the 'MD Slider':

A different point of rotation:

Attachments:

yes you did it in a very simple way , thank you 

but mine got too complicated , attahced 

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