algorithmic modeling for Rhino
Hi everyone,
This may be very simple to do, I'm not sure. I have a tree, 40 branches long, each branch containing 3 lines (representing 40 triangles). I've then split these lines ten times, so my tree now contains (40x3x11=)1320 points with a branch structure of {0-39,0-2} i.e
{0;0}
{0;1}
{0;2}
{1;0}
...
{39;2}
with each branch containing 11 points.
I now want to create lines from the points on line {x;0} to {x;1}, {x;1} to {x;2}, and {x;2} to {x;0}, which will give me a triangular grid on each triangle. How do i do this? I think I need to split the tree 40 times to give me 40 single layered trees but I imagine there's a cleverer way of doing this!
This feel like it should be simple, but I;m having trouble working with the double-layered branch structure. Any help would be greatly appreciated!
Thanks,
Matt
Tags:
I'm not sure I understood you, but is this what you want? If you're not acquainted with the pathmapper component take a look at Danny's pathmapper help.
I think [Relative Item] is the component you should use. It's going to be pretty tricky (especially if this is your first foray into data tree management) but this is ultimately what [Relative Item] and [Relative Items] were made for.
If you can internalise your point data in a single parameter and post it I can try to set it up for you (no guarantees)
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by