algorithmic modeling for Rhino
Hi all,
i want to check for intersect a group of curves which are copied and rotated randomly on a surface in a loop.
Now i want to to check for intersection and add/or not add the curves.
How can i do this with this method?
I tried using the CurveCurveIntersection method in my script but without success. So i tried using it in a single component and realized that i have no idea how to test one curve with a list of existing curves.
I add a screenshot as well as my attempts:
regards
Tags:
Hi TOm,
thanks for helping!
I am trying use your example in my case. I just have one list of curves so i decided to use the rs.CurveCurveIntersection method which returns a list of several informations so i try to access the first item by
if len(ie[0]) > 0:
but it returns the error: 'NoneType' object is unsubscriptable
Over all i am not sure if i am doing it right:Can it work like this?
Thanks in advance!
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by