Previous topic

xsect.calc.polygon_points

Next topic

xsect.calc.angle_points

This Page

xsect.calc.polygon_summary

xsect.calc.polygon_summary(n, radius, thickness=None, is_inscribed=True)[source]

Returns a dictionary with a summary of polygon section properties.

Parameters:
n : int

The number of sides to the polygon.

radius : float

The radius of the polygon.

thickness : float

The thickness of the wall. If None, the cross section will be assumed to be solid.

is_inscribed : bool

If True, an inscribed polygon will be generated for the specified radius. Otherwise, a circumscribed polygon will be generated.