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 parametersplitMeshshould 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 fromoverhangAngle (
float) – The overhang angle in degreessplitMesh (
bool) – If the overhang mesh should be split into separate Trimesh entities by network connectivityuseConnectivity (
bool) – Uses mesh connectivity to interpolate the surface normals across
- Return type:
Union[Trimesh,List[Trimesh]]- Returns:
The extracted overhang mesh