compas_trimesh_to_occ_shell

compas_occ.conversions.compas_trimesh_to_occ_shell(mesh)

Convert a COMPAS triangle mesh to an OCC shell.

Parameters:
meshMesh

A COMPAS mesh data structure with triangle faces.

Returns:
TopoDS_Shell
Raises:
ValueError

If the mesh is not a triangle mesh.