diff --git a/doc/bed-types.md b/doc/bed-types.md new file mode 100644 index 000000000..77d5f93d9 --- /dev/null +++ b/doc/bed-types.md @@ -0,0 +1,27 @@ +# Multiple bed types + +You can enable it in printer settings. + + +Once enabled, you can select the bed type in the drop-down menu, corresponding bed temperature will be set automatically. +You can set the bed temperature for each bed type in the filament settings as demonstrated in the following image. +![multi_bed](./images/bed-types.gif) + + +Orca also support `curr_bed_type` variable in custom G-code. +For example, the following sample G-codes can detect the selected bed type and adjust the G-code offset accordingly for Klipper: +``` +{if curr_bed_type=="Textured PEI Plate"} + SET_GCODE_OFFSET Z=-0.05 +{else} + SET_GCODE_OFFSET Z=0.0 +{endif} +``` + +available bed types are: +``` +"Cool Plate" +"Engineering Plate" +"High Temp Plate" +"Textured PEI Plate" +``` \ No newline at end of file diff --git a/doc/images/bed-types.gif b/doc/images/bed-types.gif new file mode 100644 index 000000000..8a8d03657 Binary files /dev/null and b/doc/images/bed-types.gif differ diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 0ba7f79bb..1a978cac7 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -702,6 +702,9 @@ Sidebar::Sidebar(Plater *parent) bed_type_title->SetFont(font); SetCursor(wxCURSOR_ARROW); }); + bed_type_title->Bind(wxEVT_LEFT_UP, [bed_type_title, this](wxMouseEvent &e) { + wxLaunchDefaultBrowser("https://github.com/SoftFever/OrcaSlicer/wiki/bed-types"); + }); AppConfig *app_config = wxGetApp().app_config; std::string str_bed_type = app_config->get("curr_bed_type"); diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index c89a3c124..b149c38e9 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -3525,7 +3525,7 @@ void TabPrinter::build_fff() optgroup->append_single_option_line(option); // optgroup->append_single_option_line("printable_area"); optgroup->append_single_option_line("printable_height"); - optgroup->append_single_option_line("support_multi_bed_types"); + optgroup->append_single_option_line("support_multi_bed_types","bed-types"); optgroup->append_single_option_line("nozzle_volume"); optgroup->append_single_option_line("best_object_pos"); optgroup->append_single_option_line("z_offset");