add_counterbore_hole
Create a counterbored screw hole on a part's +Z face by combining a through clearance shank with a larger coaxial flat-bottom pocket, allowing cap-head screws or heat-set inserts to sit flush or recessed.
Instructions
Cut a counterbored screw hole on the +Z face at (x_mm, y_mm).
A clearance shank through the thickness plus a larger coaxial flat-bottom pocket of cbore_depth_mm from the top — so a cap-head screw or heat-set insert sits flush/recessed (common for 3D-printed parts). cbore_diameter must exceed clearance_diameter. Coordinates share add_box's system. Returns mass properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Counterbore | |
| x_mm | Yes | ||
| y_mm | Yes | ||
| cbore_depth_mm | Yes | ||
| cbore_diameter_mm | Yes | ||
| clearance_diameter_mm | Yes |