Grasshopper

algorithmic modeling for Rhino

hello, 

i'm new to grasshopper and also this site, i'm not even sure if i'm writing my question in right section! but here is my question

i'm trying to make a series of surfaces each rotating 3 degrees more than the one before it, i have trouble in choosing the rotation center point, i want each surface to rotate around its own points, (point 0 in attached file). 

i'm confused, hope someone could help 

Views: 410

Attachments:

Replies to This Discussion

Yup, this is the right place to post this kind of question.

Your file is almost correct, you just need to flatten the list of rotation points. Each surface yields four corner points, so the list of N surfaces that goes into the component becomes a collection of N lists of four points each at the output. This increase in complexity means the surfaces and the points are no longer easily 'matched up'. Flattening the points (or, alternatively, grafting the surfaces) fixes this.

Also it looks like you're defining your rotation angles in degrees, not radians. By default all angles in GH use radians, but most angle inputs allow you to switch to degrees instead. You could of course also use a dedicated degrees->radians component for this.

And I'd like to congratulate you on the neatness of your file. Very organised!

Attachments:

thanks! it was all really helpful, especially that degree-radians mistake i wasn't even aware of! 

i found another way, making the surface by it's points and later choosing them as rotation center, but i guess your way is more professional and has less parameters. 

 

also thanks for the complement! 

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