mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 22:35:57 +08: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
@ -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.
|
// if spiral vase, we have to ensure that all contour are in the same orientation.
|
||||||
loop.make_counter_clockwise();
|
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
|
// find the point of the loop that is closest to the current extruder position
|
||||||
// or randomize if requested
|
// or randomize if requested
|
||||||
|
Loading…
x
Reference in New Issue
Block a user