boolean_difference_mesh_mesh

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

Compute the boolean difference of two triangle meshes.

Parameters
  • A (tuple[sequence[[float, float, float] or compas.geometry.Point], sequence[[int, int, int]]]) – The vertices and faces of mesh A.

  • B (tuple[sequence[[float, float, float] or compas.geometry.Point], sequence[[int, int, int]]]) – The vertices and faces of mesh B.

  • remesh (bool, 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.