algorithmic modeling for Rhino
Dear Experts - or probably even beginners? . . . I am a complete newbie and am completely boggled! I have tried a million things but can't seem to crack this (probably) super simple problem.
I want to array a square along an arc (or a circle) - I have managed to get this far quite easily - but the square needs to rotate around its own axis by 90degrees (see scrnshot). I cant figure out how to create the "step and rotate" function. I only manage to rotate all the squares the same angle but progressively one after the other . . .
I will probably have over 50 rotation planes at the end but have started off simply as you can see in the jpg.
Thanks in advance - any help would be very much appreciated!!! :)
J.
Comment
Just an update - I have had a few requests to explain the series component step. The maths behind it is that Degrees need to be converted to Radians, thus 360°(circle)/240(number of steps)=1,5° which in radians is 0.0262.
My problem (above) was simply that I couldn't work out how to "tell" the rectangle to rotate a certain angle each time it stepped along the curve. The solution was the Series component, which creates a series of numbers defining the angle by which the rectangle rotates each time it steps further along. See image below.
Hope this explains it . . .
Hi Jobergman,
Could you please explain more about how "series" component works in your definition? I couln't make it work as you did.
Thanks in advance.
mt
Thanks fernando! I appreciate it and find your solution very interesting! I came up with another method this morning after a short nights sleep it looks a bit different to yours -but hey that seems to be the great thing about grasshopper, many roads lead to rome!
I have attached my solution as an image in case it is of interest to you. . .
something?
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
© 2024 Created by Scott Davidson. Powered by
You need to be a member of Grasshopper to add comments!