diff --git a/README.md b/README.md index aa5983a9e..83bbf085d 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,8 @@ Contributions by Henrik Brix Andersen, Vojtech Bubnik, Nicolas Dandrimont, Mark print rather than processed individually. Printer options: + --bed-shape Coordinates in mm of the bed's points (default: 0x0,200x0,200x200,0x200) + --has-heatbed This will provide automatic generation of bed heating gcode --nozzle-diameter Diameter of nozzle in mm (default: 0.5) --print-center Coordinates in mm of the point to center the print around (default: 100,100) diff --git a/xs/src/libslic3r/PrintConfig.cpp b/xs/src/libslic3r/PrintConfig.cpp index 3a5ca6866..d87c77883 100644 --- a/xs/src/libslic3r/PrintConfig.cpp +++ b/xs/src/libslic3r/PrintConfig.cpp @@ -40,10 +40,12 @@ PrintConfigDef::PrintConfigDef() opt->values.push_back(Pointf(0,200)); def->default_value = opt; } + def->cli = "bed-shape=s"; + def = this->add("has_heatbed", coBool); def->label = "Has heated bed"; def->tooltip = "Unselecting this will suppress automatic generation of bed heating gcode."; - def->cli = "has_heatbed!"; + def->cli = "has-heatbed!"; def->default_value = new ConfigOptionBool(true); def = this->add("bed_temperature", coInt);