boolean_intersection_mesh_mesh

compas_blender.geometry.booleans.boolean_intersection_mesh_mesh(A, B, remesh=False)[source]

Compute the boolean intersection of two triangle meshes.

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

  • B (tuple[sequence[[float, float, foat], compas.geometry.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 intersection.