approximateProjectionSupportCost

pyslm.support.approximateProjectionSupportCost(part, overhangAngle, includeTriangleVertices=False)

Provides a support structure cost using ray projection from the overhang regions which allows for self-intersection checks.

Parameters:
  • part (Part) – The part to determine the overall approximate support cost

  • overhangAngle (float) – The overhang angle in degree

  • includeTriangleVertices (Optional[bool]) – Optional parameter projects also from the triangular vertices

Return type:

float

Returns:

The cost function for support generation