compas_trimesh_to_occ_shell
- compas_occ.conversions.compas_trimesh_to_occ_shell(mesh)
Convert a COMPAS triangle mesh to an OCC shell.
- Parameters:
- mesh
Mesh
A COMPAS mesh data structure with triangle faces.
- mesh
- Returns:
- TopoDS_Shell
- Raises:
- ValueError
If the mesh is not a triangle mesh.