algorithmic modeling for Rhino
hello,
i have a problem. i have a list with 20 curves the index is (0;0;x),
now i want to reorder the list to 4 branches with (0;y;x).
i now i have to use the path mapper but i don ´t find the right way to organise this.
can some ody please help me,
thanks philipp
Tags:
{A;B;C} --> {0;C\4;C%4}
{0;0;0} --> {0;0\4;0%4} = {0;0;0}
{0;0;1} --> {0;1\4;1%4} = {0;0;1}
{0;0;2} --> {0;2\4;2%4} = {0;0;2}
{0;0;3} --> {0;3\4;3%4} = {0;0;3}
{0;0;4} --> {0;4\4;4%4} = {0;1;0}
{0;0;5} --> {0;5\4;5%4} = {0;1;1}
{0;0;6} --> {0;6\4;6%4} = {0;1;2}
{0;0;7} --> {0;7\4;7%4} = {0;1;3}
{0;0;8} --> {0;8\4;8%4} = {0;2;0}
{0;0;9} --> {0;9\4;9%4} = {0;2;1}
....
{0;0;19} --> {0;19\4;19%4} = {0;4;3}
that's actually 5 branches of 4 items.
so you need:
{A;B;C} --> {0;C\5;C%5}
---
{0;0;19} --> {0;19\5;19%5} = {0;3;4}
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