ENH: add printer structure in code

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I57c24a0ea977b510932970817d67570ab3fe7bc4
This commit is contained in:
xun.zhang 2023-08-22 19:39:45 +08:00 committed by Lane.Wei
parent d9101bc104
commit d01a94c9f7
4 changed files with 39 additions and 1 deletions

View file

@ -3088,6 +3088,7 @@ void TabPrinter::build_fff()
#endif
optgroup = page->new_optgroup(L("Advanced"), L"param_advanced");
optgroup->append_single_option_line("printer_structure");
optgroup->append_single_option_line("gcode_flavor");
optgroup->append_single_option_line("scan_first_layer");
optgroup->append_single_option_line("use_relative_e_distances");
@ -3659,6 +3660,7 @@ void TabPrinter::toggle_options()
toggle_option("single_extruder_multi_material", have_multiple_extruders);
//BBS: gcode_flavore of BBL printer can't be edited and changed
toggle_option("gcode_flavor", !is_BBL_printer);
toggle_option("printer_structure", !is_BBL_printer);
toggle_option("use_relative_e_distances", !is_BBL_printer);
toggle_option("support_chamber_temp_control",!is_BBL_printer);