Load an STL into a mesh object

This is more of a Rhino C++ SDK question.

How can I read an STL/3DM mesh from a file into a mesh object (CRhinoMeshObject for example) without having to go through Rhino itself?
For Rhino Common, I can see there’s File3dm to load from a file. What’s the equivalent in C++ ?

Hi @blondbeer,

File3dm is just a wrapper for ONX_Model, which is available in Rhino via the C++ SDK.


– Dale