hole
Drill simple, counterbore, or countersink features into a solid at a surface point and direction; set depth or leave it for through-all.
Instructions
Drill a hole into solid name (modified in place). position is the point on the surface where the hole starts,
direction points INTO the material (e.g. [0,0,-1] to drill down from a top face). depth None = through all.
kind counterbore needs cbore_diameter and cbore_depth; countersink needs csink_diameter (90 degree cone).
Fails if no material was removed. Find surface points with list_faces.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| kind | No | simple | |
| name | Yes | ||
| depth | No | ||
| diameter | Yes | ||
| position | Yes | ||
| direction | Yes | ||
| cbore_depth | No | ||
| cbore_diameter | No | ||
| csink_diameter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |