getOverhangMesh

pyslm.support.getOverhangMesh(part, overhangAngle, splitMesh=False, useConnectivity=False)

Gets the overhang mesh from a Part. If the individual regions for the overhang mesh require separating, the parameter splitMesh should be set to True. This will split mesh regions by their facial connectivity using Trimesh.

Parameters:
  • part (Part) – The part to extract the overhang mesh from

  • overhangAngle (float) – The overhang angle in degrees

  • splitMesh (Optional[bool]) – If the overhang mesh should be split into separate Trimesh entities by network connectivity

  • useConnectivity (Optional[bool]) – Uses mesh connectivity to interpolate the surface normals across

Return type:

Trimesh

Returns:

The extracted overhang mesh