find_edge
Locates an edge by matching its midpoint coordinates within a tolerance and returns the edge index, helping identify a flange bend edge without listing all edges.
Instructions
Find an edge by its midpoint coordinates (mm). Returns edge index (string). Useful for flange — locate the edge to bend without printing all edges.
Args: x/y/z: Target midpoint coordinates (mm). use_x/y/z: Set True for each coord that should be matched (False = ignored). tolerance: How close midpoint must be (mm). Default 0.1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| z | No | ||
| use_x | No | ||
| use_y | No | ||
| use_z | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| tolerance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |