mymesh.booleans.SplitMesh#

mymesh.booleans.SplitMesh(Surf1, Surf2, eps=1e-12)[source]#

Find intersections between two surfaces and split them. The resulting meshes will have nodes placed along their interfaces and retriangulated to contain the lines of intersection. If a volume or non-triangular mesh is given, it will be converted and the output will be purely triangular.

Parameters:
  • Surf1 (mymesh.mesh) – First surface mesh to split.

  • Surf2 (mymesh.mesh) – Second surface mesh to split.

  • eps (float, optional) – Small tolerance parameter, by default 1e-12

Returns:

  • Surf1 (mymesh.mesh) – First surface mesh split by the second.

  • Surf2 (mymesh.mesh) – Second surface mesh split by the first.