mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Implemented linear tapering of extrusion rate for the 1st spiral vase layer
above the solid infill. Should fix first layer of vase (after bottom layers) is bulging (0.6nozzle, 0.4 layerhight) #3712 Adjust flow of the "second" layer in spiral vase mode #2795
This commit is contained in:
parent
364300055e
commit
298b730589
3 changed files with 24 additions and 9 deletions
|
@ -1764,6 +1764,7 @@ void GCode::process_layer(
|
|||
|
||||
// Check whether it is possible to apply the spiral vase logic for this layer.
|
||||
// Just a reminder: A spiral vase mode is allowed for a single object, single material print only.
|
||||
m_enable_loop_clipping = true;
|
||||
if (m_spiral_vase && layers.size() == 1 && support_layer == nullptr) {
|
||||
bool enable = (layer.id() > 0 || print.config().brim_width.value == 0.) && (layer.id() >= (size_t)print.config().skirt_height.value && ! print.has_infinite_skirt());
|
||||
if (enable) {
|
||||
|
@ -1775,10 +1776,10 @@ void GCode::process_layer(
|
|||
break;
|
||||
}
|
||||
}
|
||||
m_spiral_vase->enable = enable;
|
||||
m_spiral_vase->enable(enable);
|
||||
// If we're going to apply spiralvase to this layer, disable loop clipping.
|
||||
m_enable_loop_clipping = !enable;
|
||||
}
|
||||
// If we're going to apply spiralvase to this layer, disable loop clipping
|
||||
m_enable_loop_clipping = ! m_spiral_vase || ! m_spiral_vase->enable;
|
||||
|
||||
std::string gcode;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue