Fix raft size when non-organic tree support is enabled (#1973)

This commit is contained in:
Noisyfox 2023-09-03 00:43:28 +08:00 committed by GitHub
parent d985cf60f9
commit 1fdfc2fa45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1441,7 +1441,7 @@ void TreeSupport::generate_toolpaths()
raft_areas.push_back(expoly); raft_areas.push_back(expoly);
} }
raft_areas = std::move(offset_ex(raft_areas, scale_(3.))); raft_areas = std::move(offset_ex(raft_areas, scale_(object_config.raft_first_layer_expansion)));
// generate raft tool path // generate raft tool path
if (m_raft_layers > 0) if (m_raft_layers > 0)

View file

@ -632,7 +632,7 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig *config, co
// Orca: Raft, grid, snug and organic supports use these two parameters to control the size & density of the "brim"/flange // Orca: Raft, grid, snug and organic supports use these two parameters to control the size & density of the "brim"/flange
for (auto el : { "raft_first_layer_expansion", "raft_first_layer_density"}) for (auto el : { "raft_first_layer_expansion", "raft_first_layer_density"})
toggle_field(el, have_support_material && !support_is_normal_tree); toggle_field(el, have_support_material && !(support_is_normal_tree && !have_raft));
bool has_ironing = (config->opt_enum<IroningType>("ironing_type") != IroningType::NoIroning); bool has_ironing = (config->opt_enum<IroningType>("ironing_type") != IroningType::NoIroning);
for (auto el : { "ironing_flow", "ironing_spacing", "ironing_speed" }) for (auto el : { "ironing_flow", "ironing_spacing", "ironing_speed" })