boolIntersect

pyslm.support.boolIntersect(meshA, meshB)

Performs a Boolean CSG intersection operation using the pycork library between two meshes.

Note

The meshes provided should ideally be watertight (manifold) and have no-self intersecting faces to ensure that the underlying Cork Library can correctly perform the operation. The resultant mesh is processed natively using Trimesh to merge coincident vertices and remove degenerate faces.

Parameters:
  • meshA (Trimesh) – Mesh A

  • meshB (Trimesh) – Mesh B

Returns:

The Boolean intersection between Mesh A and Mesh B.