trimesh_slice

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

Slice a mesh by a list of planes.

Parameters:
meshtuple[sequence[[float, float, float] | compas.geometry.Point], sequence[[int, int, int]]]

A mesh represented by a list of vertices and a list of faces.

planessequence[[point, vector] | compas.geometry.Plane]

The slicing planes.

Returns:
list[list[float, float, float]]

The points defining the slice polylines.