add_disc
Creates a disc/puck/flange by extruding a circle along +Z at an XY center; returns mass properties. Use before holes or circular patterns.
Instructions
Create a disc/puck/flange: a circle extruded along +Z, centred at (x_mm, y_mm).
Flat faces are +Z/-Z, so add_hole and add_circular_pattern compose with it (round-flange bolt circles). The centre defaults to the origin; off it, its x and y are dimensions. Returns mass properties. Use new_part first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Disc | |
| x_mm | No | ||
| y_mm | No | ||
| diameter_mm | Yes | ||
| thickness_mm | Yes |