check_sketch
Diagnose why a sketch won't extrude by checking for open ends, gaps, overlapping curves, duplicate lines, and whether Inventor builds a closed profile, including closed-loop count.
Instructions
Why won't it extrude? Checks a sketch for what a closed profile needs: open ends, gaps (two ends a hair apart, not joined), points where 3+ curves meet (overlaps, stray lines), lines drawn twice — with sketch coordinates in mm — and whether Inventor builds a profile, with how many closed loops. extrude / revolve report the same when they fail.
Args: sketch_index: Sketch number (0 = latest sketch).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| sketch_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |