algorithmic modeling for Rhino
Hello everyone,
Im new using Grasshopper, I was wondering if someone could help me.
I created 2 circles from the same center , the first one is divided in 3 points and the other one is divided in 12.
Circle A 0---1---2
Circle B 0---1---2---3---4---5---6---7---8---9---10---11
I was actually trying to connect through separated lines, point (A,0) to (B,11) and (B,1),
point (A,1) to point (B,3) and (B,5), and (A,2) to (B,7) and (B,9).
I was able to do it using a list item selecting the points and creating a line between them, but i would be to long to do it if i would like to divide in many more points, and try to connect them using list item... i went looking around for a bit, i think its possible to do it with a path mapper or a flip matrix, althought i have no clue how to make it.
You will find enclosed, some screenshots...
If anyone could give me any tip, i thank you all in advance.
Have a nice day.
+
Joan
Tags:
Hi Joan,
Like with all things script based its getting the algorithm right enables you to automate it.
Here's how I see it.
1) create 2 circles (Outer circle twice as big)
2) Divide Inner circle by X
3) Divide Outer circle by 4X
4) Find the 3 outer points closest to each of inner circle.
5) draw a line between inner point and outer points
6) ignore the shortest Line of each location.
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by