I am trying to import functions like from ladybug_rhino.togeometry import to_face3d
, however, the functions fail when imported in a Rhino 8 Python 3 script because it seems that RhinoCommon API has changed (although I can’t find any documentation about this beyond this thread). Specifically, lines like b_face.Loops.Item[count].To3dCurve().TryGetPolyline()
fail because the .Item[count]
syntax is not available, it should now instead be b_face.Loops.[count].To3dCurve().TryGetPolyline()
which works. Am I missing something?