ENH: add printer structure in code

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I57c24a0ea977b510932970817d67570ab3fe7bc4
(cherry picked from commit 409f03de471f65b9edf5c733b691e280c18c19cc)
This commit is contained in:
xun.zhang 2023-08-22 19:39:45 +08:00 committed by Lane.Wei
parent 4ac098df4d
commit 9bf251c54c
4 changed files with 39 additions and 1 deletions

View file

@ -3091,6 +3091,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");
@ -3672,6 +3673,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);