sw_hole_wizard
Creates tapped, counterbore, countersink, and clearance holes in SolidWorks from specified positions, sizes, standards, and depths for accurate fastener and screw placement.
Instructions
Standard Hole Wizard holes: threaded (tapped), counterbore / countersink for screws, clearance holes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Document title or path. Defaults to the active document. | |
| name | No | Optional name for the new feature. | |
| size | Yes | 'M3', 'M6', 'M8x1.0' (fine pitch), or '1/4-20' (inch). | |
| depth | No | Drilled depth; omit for through-all. | |
| standard | No | iso | |
| hole_type | No | tapped | |
| positions | Yes | Hole centres on one face, model mm. | |
| thread_depth | No | Tapped: thread length (default ~80% depth). | |
| cosmetic_thread | No |