mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
ENH: Re-open support independent layer height
Allow user to disable support independent layer height when prime tower closed. Fix wrong WIKI link jumping. JIRA: STUDIO-1685 JIRA: STUDIO-2308 Change-Id: I894fdd37b707c53e17fd4ad7d1518897f307e557 (cherry picked from commit e10d31e123306a0893087ea03693303768a2daf6)
This commit is contained in:
parent
ee3e8fc515
commit
4cb8b1e125
5 changed files with 17 additions and 7 deletions
|
|
@ -725,7 +725,7 @@ static std::vector<std::string> s_Preset_print_options {
|
|||
"raft_layers", "raft_first_layer_density", "raft_first_layer_expansion", "raft_contact_distance", "raft_expansion",
|
||||
"support_base_pattern", "support_base_pattern_spacing", "support_expansion", "support_style",
|
||||
// BBS
|
||||
//"independent_support_layer_height",
|
||||
"independent_support_layer_height",
|
||||
"support_angle", "support_interface_top_layers", "support_interface_bottom_layers",
|
||||
"support_interface_pattern", "support_interface_spacing", "support_interface_loop_pattern",
|
||||
"support_top_z_distance", "support_on_build_plate_only","support_critical_regions_only", "bridge_no_support", "thick_bridges", "max_bridge_length", "print_sequence",
|
||||
|
|
|
|||
|
|
@ -203,7 +203,8 @@ bool Print::invalidate_state_by_config_options(const ConfigOptionResolver & /* n
|
|||
steps.emplace_back(psWipeTower);
|
||||
steps.emplace_back(psSkirtBrim);
|
||||
} else if (opt_key == "filament_soluble"
|
||||
|| opt_key == "filament_is_support") {
|
||||
|| opt_key == "filament_is_support"
|
||||
|| opt_key == "independent_support_layer_height") {
|
||||
steps.emplace_back(psWipeTower);
|
||||
// Soluble support interface / non-soluble base interface produces non-soluble interface layers below soluble interface layers.
|
||||
// Thus switching between soluble / non-soluble interface layer material may require recalculation of supports.
|
||||
|
|
|
|||
|
|
@ -2694,7 +2694,8 @@ void PrintConfigDef::init_fff_params()
|
|||
def = this->add("independent_support_layer_height", coBool);
|
||||
def->label = L("Independent support layer height");
|
||||
def->category = L("Support");
|
||||
def->tooltip = L("Support layer uses layer height independent with object layer. This is to support customizing z-gap and save print time.");
|
||||
def->tooltip = L("Support layer uses layer height independent with object layer. This is to support customizing z-gap and save print time."
|
||||
"This option will be invalid when the prime tower is enabled.");
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionBool(true));
|
||||
|
||||
|
|
@ -4031,10 +4032,12 @@ void DynamicPrintConfig::normalize_fdm(int used_filaments)
|
|||
//if (alh_opt)
|
||||
// alh_opt->value = false;
|
||||
}
|
||||
/* BBS: MusangKing - not sure if this is still valid, just comment it out cause "Independent support layer height" is re-opened.
|
||||
else {
|
||||
if (islh_opt)
|
||||
islh_opt->value = true;
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -4120,6 +4123,7 @@ t_config_option_keys DynamicPrintConfig::normalize_fdm_2(int num_objects, int us
|
|||
// //alh_opt->value = false;
|
||||
//}
|
||||
}
|
||||
/* BBS:MusangKing - use "global->support->Independent support layer height" widget to replace previous assignment
|
||||
else {
|
||||
if (islh_opt) {
|
||||
if (!islh_opt->value) {
|
||||
|
|
@ -4129,6 +4133,7 @@ t_config_option_keys DynamicPrintConfig::normalize_fdm_2(int num_objects, int us
|
|||
//islh_opt->value = true;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
return changed_keys;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue