CornerRounder#
- zeroheliumkit.src.geometries.CornerRounder(corner: tuple | Point | Anchor, radius: float = 10, angle: float = 0, num_segments: int = 7, margin: float = 0.1)[source]#
Creates a Polygon to Round a corner (use for cuts). Works only with 90 degree corners.
- Parameters:
corner (tuple | Point | Anchor) – The corner to be rounded.
radius (float) – The radius of the rounded corner. Default is 10.
angle (float) – The angle of the corner. Default is 0.
num_segments (int) – The number of segments used to approximate the rounded corner. Must be greater than 2. Default is 7.
margin (float) – The margin to be added to the corner. Default is 0.1.