mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 21:12:01 +08:00
Added new SLA material override for absolute correction (SPE-2262)
This commit is contained in:
parent
04e98cc4fc
commit
c43f90e0e4
@ -622,7 +622,7 @@ static std::vector<std::string> s_Preset_sla_material_options {
|
||||
"material_ow_branchingsupport_pillar_diameter",
|
||||
|
||||
"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",
|
||||
|
@ -4399,7 +4399,7 @@ void PrintConfigDef::init_sla_params()
|
||||
"support_head_width", "branchingsupport_head_width",
|
||||
"support_pillar_diameter", "branchingsupport_pillar_diameter",
|
||||
"relative_correction_x", "relative_correction_y", "relative_correction_z",
|
||||
"elefant_foot_compensation",
|
||||
"elefant_foot_compensation", "absolute_correction",
|
||||
// int
|
||||
"support_points_density_relative"
|
||||
}) {
|
||||
|
@ -1168,6 +1168,7 @@ PRINT_CONFIG_CLASS_DEFINE(
|
||||
((ConfigOptionFloatNullable, material_ow_branchingsupport_head_width))
|
||||
((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))
|
||||
|
@ -223,6 +223,7 @@ static t_config_option_keys print_config_diffs(const StaticPrintConfig &curr
|
||||
"relative_correction_y"sv,
|
||||
"relative_correction_z"sv,
|
||||
"elefant_foot_compensation"sv,
|
||||
"absolute_correction"sv,
|
||||
};
|
||||
|
||||
static constexpr auto material_ow_prefix = "material_ow_";
|
||||
@ -908,6 +909,7 @@ bool SLAPrint::invalidate_state_by_config_options(const std::vector<t_config_opt
|
||||
"material_ow_branchingsupport_head_width"sv,
|
||||
"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,
|
||||
|
@ -5694,6 +5694,7 @@ std::vector<std::pair<std::string, std::vector<std::string>>> material_overrides
|
||||
"support_points_density_relative"
|
||||
}},
|
||||
{"Corrections", {
|
||||
"absolute_correction",
|
||||
"relative_correction",
|
||||
"elefant_foot_compensation"
|
||||
}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user