Equivalent of ExtractWireframe in RhinoCommon?


(Przemysław Doliwa) #1

Hi guys,

I was wondering if there’s equivalent of ExtractWireframe in RhinoCommon? Rebuilding triangulation from ground up is rather bad idea for getting just wireframe…


#2

For breps (for surfaces convert them to brep):
http://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Brep_GetWireframe.htm
Set density to -1.
For meshes:
http://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Collections_MeshTopologyEdgeList_EdgeLine.htm