analyze_nc_program
Parses G-code to flag risky rapids, feed/spindle limit violations, unsupported motion, and cycle-time evidence for review.
Instructions
Parse bounded G-code linear motion and flag risky rapids, feed/spindle limits, unsupported motion, and reviewable cycle-time evidence
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| safeZ | No | ||
| stock | No | ||
| units | Yes | ||
| machine | Yes | ||
| program | Yes | ||
| fixtures | No | ||
| toolRadius | No | ||
| holderRadius | No | ||
| safetyMargin | No | ||
| initialMotion | No | ||
| coordinateFrame | Yes | ||
| initialPosition | Yes | ||
| dwellPMilliseconds | No | ||
| defaultToolChangeSeconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| live | No | ||
| tool | Yes | ||
| error | No | ||
| receipt | No | ||
| documentRevision | No | ||
| operationFingerprint | No |