trimesh_slice

compas.geometry.trimesh_slice(mesh, planes)[source]

Slice a mesh by a list of planes.

Parameters
  • mesh (tuple of vertices and faces) – The mesh to slice.

  • planes (list of (point, normal) tuples or compas.geometry.Plane) – The slicing planes.

Returns

list of arrays – The points defining the slice polylines.