boolean_difference_mesh_mesh

compas_blender.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, foat], Point], sequence[[int, int, int]]]) – The vertices and faces of mesh A.

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

  • remesh (bool, optional) – If True, remesh the result.

Returns

tuple[list[[float, float, foat]], list[[int, int, int]]] – The vertices and the faces of the boolean difference.