Skip to content

Command line usage

Sven Lohrmann edited this page Oct 31, 2021 · 1 revision

Usage

# Example for two extruder setup, with tool1 at (0,0) and tool2 at (40,0)
python analysis.py --max-extruders 2 --offset 0 0 --offset 40 0 --g90-extruder file.gcode

Arguments

--speed-x, --speed-y

The feedrate per minute. If not given in the gcode file the minimum of both values will be used to calculate the print time. (Default: 6000)

python analysis.py --speed-x 6000 --speed-y 6000 file.gcode

--offset

Set extruder offsets in mm, if you use multiple extruders. (Default: [0,0])

python analysis.py --offset 0 0 --offset 40 0 file.gcode

--max-extruders

Maximum number of extruders. Tool change commands that exceed this limit will be ignored. (Default: 10)

python analysis.py --max-extruders 10 file.gcode

--g90-extruder

Set this flag if your printer firmware also applies the G90 and G91 commands to the extruder.

python analysis.py --g90-extruder file.gcode

--verbose

Set logging verbosity to DEBUG.

python analysis.py --verbose file.gcode

--help

Print command usage help.

python analysis.py --help

Clone this wiki locally