WIP: prusa-gcodeviewer command line wrapper to start the PrusaSlicer

in standalone G-code viewer mode.
Linux and OSX stuff will follow.
This commit is contained in:
bubnikv 2020-09-01 16:56:12 +02:00
parent ac9e1e8e4a
commit 08580a9b18
6 changed files with 52 additions and 1 deletions

View file

@ -3530,6 +3530,12 @@ CLIActionsConfigDef::CLIActionsConfigDef()
def->cli = "export-gcode|gcode|g";
def->set_default_value(new ConfigOptionBool(false));
def = this->add("gcodeviewer", coBool);
def->label = L("G-code viewer");
def->tooltip = L("Visualize an already sliced and saved G-code");
def->cli = "gcodeviewer";
def->set_default_value(new ConfigOptionBool(false));
def = this->add("slice", coBool);
def->label = L("Slice");
def->tooltip = L("Slice the model as FFF or SLA based on the printer_technology configuration value.");