Remove "auto" wall direction option (#6193)
Remove "auto" wall direction
This commit is contained in:
@@ -5600,7 +5600,10 @@ std::string GCode::extrude_loop(ExtrusionLoop loop, std::string description, dou
|
||||
|
||||
if (m_config.spiral_mode && !is_hole) {
|
||||
// if spiral vase, we have to ensure that all contour are in the same orientation.
|
||||
loop.make_counter_clockwise();
|
||||
if (m_config.wall_direction == WallDirection::CounterClockwise)
|
||||
loop.make_counter_clockwise();
|
||||
else
|
||||
loop.make_clockwise();
|
||||
}
|
||||
//if (loop.loop_role() == elrSkirt && (this->m_layer->id() % 2 == 1))
|
||||
// loop.reverse();
|
||||
@@ -5662,7 +5665,7 @@ std::string GCode::extrude_loop(ExtrusionLoop loop, std::string description, dou
|
||||
// 1 - the currently printed external perimeter and 2 - the neighbouring internal perimeter.
|
||||
if (m_config.wipe_before_external_loop.value && !paths.empty() && paths.front().size() > 1 && paths.back().size() > 1 && paths.front().role() == erExternalPerimeter && region_perimeters.size() > 1) {
|
||||
const bool is_full_loop_ccw = loop.polygon().is_counter_clockwise();
|
||||
bool is_hole_loop = (loop.loop_role() & ExtrusionLoopRole::elrHole) != 0; // loop.make_counter_clockwise();
|
||||
bool is_hole_loop = (loop.loop_role() & ExtrusionLoopRole::elrHole) != 0;
|
||||
const double nozzle_diam = nozzle_diameter;
|
||||
|
||||
// note: previous & next are inverted to extrude "in the opposite direction, and we are "rewinding"
|
||||
|
||||
Reference in New Issue
Block a user