From 6d9279db722f4cb4b82cf798479ddbc74d32c5d8 Mon Sep 17 00:00:00 2001 From: Can Gelis Date: Sat, 12 Aug 2017 14:49:29 +0300 Subject: [PATCH 1/4] add --bed-shape cli arg --- xs/src/libslic3r/PrintConfig.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xs/src/libslic3r/PrintConfig.cpp b/xs/src/libslic3r/PrintConfig.cpp index 3a5ca6866..84c73e83e 100644 --- a/xs/src/libslic3r/PrintConfig.cpp +++ b/xs/src/libslic3r/PrintConfig.cpp @@ -40,6 +40,8 @@ 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."; From 571b1172b73bfde4e5664e7c211eec99802582a7 Mon Sep 17 00:00:00 2001 From: Can Gelis Date: Sat, 12 Aug 2017 14:49:52 +0300 Subject: [PATCH 2/4] add --bed-shape to the documentation --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index aa5983a9e..d4be16433 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ 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) --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) From 98e0b814456e9dc005a4e59c9b9c4f70e903abcb Mon Sep 17 00:00:00 2001 From: Can Gelis Date: Sat, 12 Aug 2017 14:50:32 +0300 Subject: [PATCH 3/4] make --has-heatbed to compatible with other cli arguments --- xs/src/libslic3r/PrintConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/libslic3r/PrintConfig.cpp b/xs/src/libslic3r/PrintConfig.cpp index 84c73e83e..d87c77883 100644 --- a/xs/src/libslic3r/PrintConfig.cpp +++ b/xs/src/libslic3r/PrintConfig.cpp @@ -45,7 +45,7 @@ PrintConfigDef::PrintConfigDef() 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); From d1adeece9e4ebee9d3ccfb4a96e4ceee211bd300 Mon Sep 17 00:00:00 2001 From: Can Gelis Date: Sat, 12 Aug 2017 14:51:52 +0300 Subject: [PATCH 4/4] add --has-heatbed to the documentation --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d4be16433..83bbf085d 100644 --- a/README.md +++ b/README.md @@ -129,6 +129,7 @@ Contributions by Henrik Brix Andersen, Vojtech Bubnik, Nicolas Dandrimont, Mark 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)