Hi guys!
I am working on a project related to Rhino Python Scripting. In this manner, I have some problems about my project. I am trying to create some shapes by using python, and creating some points to produce them. My intend is to connect these point from outside to inside for creating contour curves. For me, I need to sort these points in a proper way but I don’t know how to manage it. I am looking for your assisntace. Thanks in advance
cymatics_poster.gh (17.0 KB)
Hello
your title is not informative at all.
For this kind of stuff I usually use array of bool. bool[,] in C#.
Then I have function that search if point is border
IsBorder(i,j) (border if point is true and one surrounding is false.
Draw a line if
IsBorder(i,j)== true and IsBorder(i+1,j) == true
IsBorder(i,j)== true and IsBorder(i,j+1) == true
Diagonals seems a bad idea
Thank you Lauren. However, I need to work with rhino python instead of c#. Is there a way to make it in py?
For sure you can. But i didnt learn python.
I did Pascal C++ Ada Fortran 77 Java VB Matlab and now c#