algorithmic modeling for Rhino
Tags:
Are the offsets between the polygons constant? Because if they are you can use Delaunay to get the edges.
Yes, the displacement distance between the points to get the line between the points.
If the offset is not constant algorithm complicated !?
If the offset is not constant then Delaunay cannot be relied upon.
The lines do connect the division points in a logical fashion, but it's pretty involved:
The connection order for the first ring is:
0 → -1 (where -1 equals 9)
0 → 0
0 → 1
1 → 1
1 → 2
1 → 3
2 → 3
2 → 4
2 → 5
3 → 5
3 → 6
3 → 7
4 → 7
4 → 8
4 → 9
As you can see from the above list the connection sequence comes in waves of three, where each group of similar indices on the left is associated with a group of three incrementing indices on the right.
Some combination of Series components will probably generate this list, but it'll only work for the first ring, the second one will need a different connection pattern. It is perhaps better to just encode the integer pairs by hand. But then you cannot change your mind about the number of sides later.
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by