algorithmic modeling for Rhino
Hi All,
I've got a group of cubes on various contours. I need to rotate the group of cubes on one contour relative to the subsequent group of cubes. Example group 1 is rotated by 0, group 2 ( just above it) rotated by 15, group 3 ( above group 2) rotated 15 degrees relative to group 2.
The distance between the cubes, the number of cubes on each contour must remain as shown in attached gh file.
I understand we can achieve this with series or with shift, however am unable to figure out where to plug it in to achieve the desired result.
Please guide.
Many Thanks
Tags:
'Crv: Rail' and 'Crv: Profile' have no internalized data, so the code shows nothing.
Sorry about this.
Reloading files.
Attached files
By the way, I added the other set of boxes to these rows being rotated and the result looked pretty good! Except there are four boxes per row in the middle and five per row above and below that.
A better approach to get the effect you want might be as follows:
This is looks quite interesting Joseph.
Still going through all your responses and learning.
Thank you Joseph!
Yes, this is what I was looking to achieve
Making the number of boxes on each row a multiple of the minimum worked very well in creating an even distribution between the "stacks" (4) that meet at the minimum point.
To make the "continuous strands" stand out more, and make it possible to bake them separately (to use different materials), I added some code at the end to select them out; the "Mins" (in glass and yellow below) and the "others" (in marble and blue below).
P.S. I think this shape looks better upside down.
P.P.S. On the 'Round' components, by using 'N (Nearest)' or 'C ('Ceiling)' instead of 'F (Floor)', the 'Min' value can be higher because the bricks are allowed to merge/collide. Better to change the shape or brick sizes...
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