boolean_difference_mesh_mesh

compas_rhino.geometry.boolean_difference_mesh_mesh(A, B, remesh=False)[source]

Compute the boolean difference of two triangle meshes.

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

The vertices and faces of mesh A.

Btuple[sequence[[float, float, float] | compas.geometry.Point], sequence[[int, int, int]]]

The vertices and faces of mesh B.

remeshbool, optional

If True, remesh the result.

Returns:
sequence[[float, float, float]]

The vertices of the boolean difference.

sequence[[int, int, int]]

The faces of the boolean difference.