mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 05:56:02 +08:00
Removed printer scaling correction from material overrides
This commit is contained in:
parent
c43f90e0e4
commit
b60de25086
@ -623,9 +623,6 @@ static std::vector<std::string> s_Preset_sla_material_options {
|
||||
|
||||
"material_ow_support_points_density_relative",
|
||||
"material_ow_absolute_correction",
|
||||
"material_ow_relative_correction_x",
|
||||
"material_ow_relative_correction_y",
|
||||
"material_ow_relative_correction_z",
|
||||
"material_ow_elefant_foot_compensation"
|
||||
};
|
||||
|
||||
|
@ -4398,7 +4398,6 @@ void PrintConfigDef::init_sla_params()
|
||||
"support_head_penetration", "branchingsupport_head_penetration",
|
||||
"support_head_width", "branchingsupport_head_width",
|
||||
"support_pillar_diameter", "branchingsupport_pillar_diameter",
|
||||
"relative_correction_x", "relative_correction_y", "relative_correction_z",
|
||||
"elefant_foot_compensation", "absolute_correction",
|
||||
// int
|
||||
"support_points_density_relative"
|
||||
|
@ -1169,9 +1169,6 @@ PRINT_CONFIG_CLASS_DEFINE(
|
||||
((ConfigOptionIntNullable, material_ow_support_points_density_relative))
|
||||
((ConfigOptionFloatNullable, material_ow_elefant_foot_compensation))
|
||||
((ConfigOptionFloatNullable, material_ow_absolute_correction))
|
||||
((ConfigOptionFloatNullable, material_ow_relative_correction_x))
|
||||
((ConfigOptionFloatNullable, material_ow_relative_correction_y))
|
||||
((ConfigOptionFloatNullable, material_ow_relative_correction_z))
|
||||
((ConfigOptionFloat, area_fill))
|
||||
|
||||
//tilt params
|
||||
|
@ -219,9 +219,6 @@ static t_config_option_keys print_config_diffs(const StaticPrintConfig &curr
|
||||
"branchingsupport_head_width"sv,
|
||||
"branchingsupport_pillar_diameter"sv,
|
||||
"support_points_density_relative"sv,
|
||||
"relative_correction_x"sv,
|
||||
"relative_correction_y"sv,
|
||||
"relative_correction_z"sv,
|
||||
"elefant_foot_compensation"sv,
|
||||
"absolute_correction"sv,
|
||||
};
|
||||
@ -910,9 +907,6 @@ bool SLAPrint::invalidate_state_by_config_options(const std::vector<t_config_opt
|
||||
"material_ow_elefant_foot_compensation"sv,
|
||||
"material_ow_support_points_density_relative"sv,
|
||||
"material_ow_absolute_correction"sv,
|
||||
"material_ow_relative_correction_x"sv,
|
||||
"material_ow_relative_correction_y"sv,
|
||||
"material_ow_relative_correction_z"sv,
|
||||
"printer_model"sv,
|
||||
};
|
||||
|
||||
|
@ -5622,10 +5622,6 @@ static std::vector<std::string> get_override_opt_kyes_for_line(const std::string
|
||||
for (auto& prefix : { "", "branching" })
|
||||
opt_keys.push_back(preprefix + prefix + key);
|
||||
}
|
||||
else if (key == "relative_correction") {
|
||||
for (auto& axis : { "x", "y", "z" })
|
||||
opt_keys.push_back(preprefix + key + "_" + char(axis[0]));
|
||||
}
|
||||
else
|
||||
opt_keys.push_back(preprefix + key);
|
||||
|
||||
@ -5638,16 +5634,6 @@ void TabSLAMaterial::create_line_with_near_label_widget(ConfigOptionsGroupShp op
|
||||
add_options_into_line(optgroup, { {"", L("Default")}, {"branching", L("Branching")} }, key, "material_ow_");
|
||||
else {
|
||||
const std::string opt_key = std::string("material_ow_") + key;
|
||||
if (key == "relative_correction") {
|
||||
Line line = Line{ m_preset_bundle->printers.get_edited_preset().config.def()->get("relative_correction")->full_label, "" };
|
||||
for (auto& axis : { "X", "Y", "Z" }) {
|
||||
auto opt = optgroup->get_option(opt_key + "_" + char(std::tolower(axis[0])));
|
||||
opt.opt.label = axis;
|
||||
line.append_option(opt);
|
||||
}
|
||||
optgroup->append_line(line);
|
||||
}
|
||||
else
|
||||
optgroup->append_single_option_line(opt_key);
|
||||
}
|
||||
|
||||
@ -5695,7 +5681,6 @@ std::vector<std::pair<std::string, std::vector<std::string>>> material_overrides
|
||||
}},
|
||||
{"Corrections", {
|
||||
"absolute_correction",
|
||||
"relative_correction",
|
||||
"elefant_foot_compensation"
|
||||
}}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user