check_sketch
Diagnose why a sketch fails to extrude or revolve by detecting open ends, gaps, overlaps, and duplicate lines, then report whether Inventor builds a closed profile and 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).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_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 |