I have a list that was the result of solving CurveBrep intersection, the list looks like this:
[Array[Point3d], Array[Point3d], Array[Point3d], Array[Point3d]((<Rhino.Geometry.Point3d object at 0x000000000000EC1D [-23.8044134556235,8,8.92537370705992]>)), Array[Point3d]((<Rhino.Geometry.Point3d object at 0x000000000000EC1E [-23.8044134556235,8,8.92537370705992]>, <Rhino.Geometry.Point3d object at 0x000000000000EC1F [-31,2.2566892228611,11.3210518241447]>))]
Some lines didn’t intersect with the Brep, therefore, some items in the list don’t have a point, some lines intersected twice or more, therefore, some items in the list contain one or more points
The question is how do I correctly tell python to check if the list item has a point, I need to extract the points from that list.
I tried this to iterate through the list items:
for i in list: if i.startswith('Array[Point3d]((<Rhino.Geometry'):
Obviously, this didn’t work. How should I approach this?