compas_trimesh_to_occ_shell

compas_occ.conversions.compas_trimesh_to_occ_shell(mesh)[source]

Convert a COMPAS triangle mesh to an OCC shell.

Parameters

mesh (Mesh) – A COMPAS mesh data structure with triangle faces.

Returns

TopoDS_Shell

Raises

AssertionError – If the mesh is not a triangle mesh.