Hi, I have a surface and a polysurface, and when I call rs.JoinSurfaces() as below, the resulting object fails the IsObjectValid() check. When I join the same two surfaces interactively via _Join, the resulting object checks out ok. As you can see below, the input objects seems to be valid. Any idea what the problem could be?
assert rs.IsObjectValid(news) assert rs.IsObjectValid(lowerSurfaceId) assert rs.IsSurface(lowerSurfaceId) assert rs.IsPolysurface(news) cupobj = rs.JoinSurfaces((lowerSurfaceId, news), delete_input=True) assert cupobj assert rs.IsObjectSolid(cupobj) assert rs.IsPolysurface(cupobj) assert rs.IsPolysurfaceClosed(cupobj) assert rs.IsObjectValid(cupobj) # <-------- THIS CHECK FAILS
And when I interactively check the resulting invalid object it says:
Rhino polysurface object is not valid. ON_ArcCurve m_arc is not valid ON_Brep.m_C3 is invalid.