I tried to create a grasshopper component with the python ghpy compiler. The original ghpython ran normally, but there was an error after creation. I tried to solve it but failed.
Thank you for any suggestions and helpCongruence_Triangles.ghpy (43 KB) Creat_ghpy.gh (8.0 KB)
Could it be that your original python script was working on the Rhino.Geometry.Polyline class (which is really just an extension of a list of Point3d structures), and your new code is working with Curve or PolylineCurve?
According to your guidance information, I finally modified it successfully! thank you very much!