mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
Reverse draft shield direction on even layers to reduce thermal stress. (#5789)
* Reverse draft shield direction on even layers to reduce thermal stress and warping. * Use reverse() to make code clear.
This commit is contained in:
parent
529c44d8e3
commit
83a9b2513a
1 changed files with 2 additions and 0 deletions
|
@ -4574,6 +4574,8 @@ std::string GCode::extrude_loop(ExtrusionLoop loop, std::string description, dou
|
|||
// if spiral vase, we have to ensure that all contour are in the same orientation.
|
||||
loop.make_counter_clockwise();
|
||||
}
|
||||
if (loop.loop_role() == elrSkirt && (this->m_layer->id() % 2 == 1))
|
||||
loop.reverse();
|
||||
|
||||
// find the point of the loop that is closest to the current extruder position
|
||||
// or randomize if requested
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue