xsect.calc.round_points¶
-
xsect.calc.
round_points
(diameter, thickness=None, start=0, stop=6.283185307179586, step=0.01)[source]¶ Returns an array of boundary points for a round or pipe.
Parameters: - diameter : float
The outside diameter of the round or pipe.
- thickness : float
The wall thickness of the pipe. If None, the cross section will be assumed to be solid.
- start : float
The starting angle for point generation, in radians.
- stop : float
The ending angle for point generation, in radians.
- step : float
The step interval for point generation. A smaller value will provide a boundary closer to that of the ideal shape at the expense of more memory and computation time.