add_hole_wizard
Create ISO Hole Wizard holes in SolidWorks at a face coordinate: clearance, counterbore, countersink, or tapped, through or to depth, with optional modeled threads.
Instructions
An ISO hole from SolidWorks' Hole Wizard, sized by its standard tables.
kind: 'clearance' (ISO 273), 'counterbore' (socket head cap screw),
'countersink' (socket countersunk screw) or 'tapped'; size e.g. 'M3'.
Centred at (x, y, z) mm on the face through that point; through all, or
depth_mm deep. fit: 'close' / 'normal' / 'loose'. For tapped holes
thread='modeled' cuts a real, printable ISO thread instead of SolidWorks'
cosmetic one. Returns the standard's sizes in hole and mass properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | normal | |
| face | Yes | ||
| kind | Yes | ||
| name | No | ||
| size | Yes | ||
| x_mm | Yes | ||
| y_mm | Yes | ||
| z_mm | Yes | ||
| thread | No | cosmetic | |
| depth_mm | No |