getSupportAngles

pyslm.support.getSupportAngles(part, unitNormal=None, useConnectivity=True)

Returns the support angles for each triangular face normal. This is mainly used for the benefit of visualising the support angles for a part.

Parameters:
  • part (Part) – The Part to calculate the support or overhang angles

  • unitNormal (Optional[ndarray]) – The up-vector direction used to calculate the angle against

  • useConnectivity (Optional[bool]) – Use face connectivity to get the interpolated support angle

Return type:

ndarray

Returns:

The support angles across the whole part geometry