hole_linear
Creates a parametric hole positioned by distances from two edges of a planar face in Autodesk Inventor, preserving placement when the part resizes and resolving drill direction automatically.
Instructions
Hole placed parametrically from two edges of a face (Linear placement). Survives part resizing — hole keeps its distance from the edges. Drill direction resolved automatically (volume check).
Args: face_axis/face_value: planar face to drill into, e.g. ("z", 25) = top face at Z=25mm. ref1_axis/ref1_value/dist1: first edge of that face + distance from it, e.g. ("x", -34.5, 8). ref2_axis/ref2_value/dist2: second edge + distance. diameter: hole diameter mm (or thread nominal if tapped, e.g. 5 for M5). depth: 0 = through-all, otherwise depth in mm. tapped: True = ISO metric thread 6H (standard coarse pitch unless pitch given). pitch: thread pitch mm (0 = auto standard coarse). cbore_diameter/cbore_depth: >0 adds counterbore seat (M5 ISO 4762: 10 and 5.5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| dist1 | Yes | ||
| dist2 | Yes | ||
| pitch | No | ||
| tapped | No | ||
| diameter | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| face_axis | Yes | ||
| ref1_axis | Yes | ||
| ref2_axis | Yes | ||
| face_value | Yes | ||
| ref1_value | Yes | ||
| ref2_value | Yes | ||
| cbore_depth | No | ||
| cbore_diameter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |