Skip to content

dry review-gcode

Review slicer G-code directly, reporting metrics and contract findings with source line numbers

Verify rendered preview
Sample: VerifyCheck a resolved design against machine-safety contracts and inspect findings.typescript: docs/site/examples/verify.ts · python: docs/site/examples/verify.py

Help

text
Review slicer G-code directly, reporting metrics and contract findings with source line numbers

Usage: dry review-gcode [OPTIONS] <FILE>

Arguments:
  <FILE>  

Options:
      --profile <PROFILE>
          Machine/material profile JSON to supply import defaults and verifier contracts
      --filament-diameter <FILAMENT_DIAMETER>
          Filament diameter in mm, used to recover deposited volume from E motion
      --line-width <LINE_WIDTH>
          Assumed line width in mm for structural bead and flow checks
      --layer-height <LAYER_HEIGHT>
          Assumed layer height in mm for structural bead and flow checks
      --max-flow <MAX_FLOW>
          Max volumetric flow (mm³/s)
      --bounds <BOUNDS>
          Build volume as `x0,x1,y0,y1,z0,z1` (mm)
      --monotonic-z
          Require Z to be non-decreasing
      --min-temp <MIN_TEMP>
          Minimum nozzle temperature (°C) required to extrude
      --speed-range <SPEED_RANGE>
          Allowed feedrate range `min,max` (mm/min) for extruding moves
      --max-retraction-distance <MAX_RETRACTION_DISTANCE>
          Maximum retraction distance (mm)
      --max-retraction-speed <MAX_RETRACTION_SPEED>
          Maximum retraction speed (mm/min)
      --max-travel-without-retract <MAX_TRAVEL_WITHOUT_RETRACT>
          Maximum travel run distance (mm) allowed without a retraction
      --first-layer-height-range <FIRST_LAYER_HEIGHT_RANGE>
          Allowed first-layer Z height range `min,max` (mm)
      --first-layer-speed-range <FIRST_LAYER_SPEED_RANGE>
          Allowed first-layer feedrate range `min,max` (mm/min)
      --max-accel <MAX_ACCEL>
          Maximum toolhead acceleration (mm/s²) for the arc peak-acceleration check
      --junction-velocity <JUNCTION_VELOCITY>
          Maximum junction (square-corner) velocity (mm/s) for the junction-velocity check
      --json
          Print metrics/findings as JSON
  -h, --help
          Print help