mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Fixed FDM support generator for object layers lower than minimum
layer height enabled for an extruder.
This commit is contained in:
parent
15d95e4264
commit
215e845c31
1 changed files with 2 additions and 0 deletions
|
@ -336,6 +336,8 @@ PrintObjectSupportMaterial::PrintObjectSupportMaterial(const PrintObject *object
|
||||||
m_support_params.support_layer_height_min = 1000000.;
|
m_support_params.support_layer_height_min = 1000000.;
|
||||||
for (auto lh : m_print_config->min_layer_height.values)
|
for (auto lh : m_print_config->min_layer_height.values)
|
||||||
m_support_params.support_layer_height_min = std::min(m_support_params.support_layer_height_min, std::max(0.01, lh));
|
m_support_params.support_layer_height_min = std::min(m_support_params.support_layer_height_min, std::max(0.01, lh));
|
||||||
|
for (auto layer : m_object->layers())
|
||||||
|
m_support_params.support_layer_height_min = std::min(m_support_params.support_layer_height_min, std::max(0.01, layer->height));
|
||||||
|
|
||||||
if (m_object_config->support_material_interface_layers.value == 0) {
|
if (m_object_config->support_material_interface_layers.value == 0) {
|
||||||
// No interface layers allowed, print everything with the base support pattern.
|
// No interface layers allowed, print everything with the base support pattern.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue