algorithmic modeling for Rhino
Hello guys,
I am quite new to Grasshopper and I am working on some simple spiral. I have set the turning radius according to the x,y coordinates from a point. However, I couldn't make the spiral starts exactly from position of the selected point. Does anyone know how to do it? Any help/comments are helpful and deeply appreciated!
spiral.gh This is the definition I have if it is helpful.
Tags:
Find the angle between the point and the world coordiantes. Then rotate the spiral.
Angle can be defined in two directions in the circle. A is always the smaller of both. Need to determine which one to use to go through the whole circle.
Thank you very much! That is very helpful! However, the rotation seems only works for single point. When I select multiple points, sometime the start point of the spiral is mirrored along either X axis or Y axis. The "Filter" box gives the error saying "Filter component only operate on a single filter index value." I am guessing the definition couldn't define which angle is the smallest? Any suggestion?
You're right. Filter only works as a kind of selctor switch in the definition.
Here's a quick and dirty solution. I'm sure there is an equivalent component for what I'm doing here... just tool lazy to go and search for it. ;)
Thanks a lot! Appreciate your help! It works like a charm!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by