mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
ENH: show nozzle_diameter for 3rd party printer
It's necessary to edit nozzle diameter and releted setting for 3rd printer. For BBL printer, keep it read-only Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I97e32967bb686b7fbb7ac306a2bb7e03b5d8c5c5
This commit is contained in:
@@ -3444,6 +3444,10 @@ void TabPrinter::toggle_options()
|
||||
size_t i = size_t(val - 1);
|
||||
bool have_retract_length = m_config->opt_float("retraction_length", i) > 0;
|
||||
|
||||
//BBS
|
||||
for (auto el : { "nozzle_diameter", "extruder_offset"})
|
||||
toggle_option(el, !is_BBL_printer, i);
|
||||
|
||||
// user can customize travel length if we have retraction length or we"re using
|
||||
// firmware retraction
|
||||
toggle_option("retraction_minimum_travel", have_retract_length, i);
|
||||
|
||||
Reference in New Issue
Block a user