algorithmic modeling for Rhino
Hello !!
I've made a modul inspired of Erwin Hauer's works and i'm trying to morph it on a surface with the twisted box component. First i tried with the normal morph components but it didn't work because it just works with 6 faces boxes and mine are with 8 faces so i made a hexagrid with lunch box and i'm trying to rebuild the data to cut every hexagon in 2 parts to have for each hexagon 2 six faces boxes...
I've always been scared by the path mapper...
I don't understand why it doesn't work, i have data with 1 branch containing 32 elements in one side so i divide the thing by 4 because 32/4=8 cause i want 8 branches and it gives me 9 branches containing different number of elements !! Why !!??
I've linked the 3dm file and the .gh, you can download and use like you wish the modul... if someone need other Erwin Hauer's modul just contact me and i will send them to you (ifyou're too lazy to make them...;)haha).
And if someone has an advise for morphing solids in hexagrids or triangular grids tell me because i don't think i'm following the right path with my actual work...
Tags:
I THINK this will work, but I'm not quite clear on what you want as the outcome...
Instead of flattening right before the path mapper, graft. Then in the path mapper use: {A} --> {A % 8}
That will give you 8 paths (0 through 7), with N=4 and organizes the points in "rows" in the x-direction.
Tip (apologies if you know this already): you can right-click on a component's input or output to flatten, graft, or simplify it. It saves space on your canvas and at least to my mind, makes definitions easier to understand.
It is because of your tree structure from what I can see of your screenshot. I see {0;6}, for example. This is a two, level tree, so instead of {A} you need {A; B}.
Try {A; B} --> {A; B % 8}
(Or you can simplify right before the Path Mapper so you have only one level.)
Thanks for your help but the % 8 didn't work it makes 4 lists with 8 points and i want 8 with 4.
It worked with % 4 and a flip matrix after... don't understand exactly why...
After that i put a relative item component to rebuild the half hexagon but it makes complet shit... Does someone has an idea ?? Normaly i know how to use the relative item but now it drives me crazy why it joins lines like that ??
Please help and if someone has a better idea to morph objects in between 2 hexagrid tell me please !!!
The files
Thank you very much Damon !
This morning i wake up and checked my mails,i saw your advise but not your linked image so i made the same thing you made but with 3 times more components haha so i 've changed it right now but it's still not working... i don't understand the logic of the twisted box... i put exactly in the same order the points like those in the grid but it gives me complet bullshit and i've tried different combinations but same result...
Please someone help me !! I don't think it's a big problem for those who are experienced with parametric programs but for me it is...
I haven't looked into these, but here are some links that might help:
http://www.grasshopper3d.com/forum/topics/hexagonal-mapping-using-b...
See also mesh duality and the plankton suite of tools:
http://www.grasshopper3d.com/group/kangaroo/forum/topics/help-with-...
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