Hi all,
I wish to retrieve the list of points of intersection of two circles using GH Python. The coding I have tried is shared below. Thanks in advance.
Hi all,
I wish to retrieve the list of points of intersection of two circles using GH Python. The coding I have tried is shared below. Thanks in advance.
try
d = [i[1] for i in c]
Thank you it worked.
From the error message, it would appear that variable c
is None
indicating that there were no intersection events returned from rs.CurveCurveIntersection()
You should upload a grasshopper file if you want further help.
-Kevin
Thank you for sharing. c was None. I have resolved the issue. Even though no idea why it was happening. Am sorry I won’t be able to share the whole code, even though I will share the part of it.
I do not I started feeling working with Python coding is becoming more challenging; I have a notion but am not sure that I think c# is better for programming in GH.
I don’t think using C# instead of Python would be any less challenging unless you’re already more familiar with C#.
For writing scripts in grasshopper, it is generally preferable to use the RhinoCommon API instead of RhinoScriptSyntax.
-Kevin