I need to process several MeshOutline in Rhinocommon from the Top View to find the outlines of a polysurface (beforehand converted to a Mesh with specific parameters) at different heights.
But it happens very frequently that the Mesh.GetOultines() fails and returns Nothing.
I find a work around by adding the mesh into the document, run the script command _MeshOutlines and get the result.
But then I managed to find an example where even the script _MeshOutlines from the document fails, but succeed if the mesh is translated along XY.
meshoutline_fail.3dm (187.0 KB)
I would like to work exclusively with virtual geometry in RhinoCommon and not using the RhinoDoc and scripts.