How it works
From text to truth in 0.07 seconds.
- G-code
- Parse
- Sample
- Z-filter
- Check
- Result
The output
Every crash, pinpointed. Every scene, explorable.
The CLI maps every collision to its G-code line. One flag turns the same check into a 3D scene you can orbit.
$ gcode-collision-check verify crash.nc --scene vise.stl RESULT: COLLISION 33 hits on 3 of 7 program lines checked 7 segments, 134 samples, 0.07 s LINE G-CODE COLLIDING PAIR HITS DEPTH Z ---- ------------ ------------------ ---- ------ ------------- 6 G0 X-50 flute / vise 8 40.087 5.00 7 G1 Z-10 F200 flute / vise, ... 9 9.798 -10.0..5.0 8 G0 Z50 flute / vise, ... 16 10.535 -10.0..20.0 first contact: line 6 X-36.00 Y0.00 Z5.00$ gcode-collision-check verify program.nc --scene vise.stl RESULT: SAFE no collisions detected checked 19094 segments, 46239 samples, 1.62 s $ gcode-collision-check visualize program.nc --scene vise.stlGenerating scene... Opening 3D view... gcode-collision-check · drag to rotate · scroll to zoom
Hover a program line for the full story.