mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 19:49:09 +08:00
parent
a5aa9ffab8
commit
5f8d634fc1
@ -3318,7 +3318,7 @@ std::string GCode::extrude_loop(const ExtrusionLoop &original_loop, const std::s
|
||||
m_wipe.path = paths.front().polyline; // TODO: don't limit wipe to last path
|
||||
|
||||
//wipe for External Perimeter
|
||||
if (paths.back().role() == erExternalPerimeter && m_layer != NULL && m_config.perimeters.value > 1 && paths.front().size() >= 2 && paths.back().polyline.points.size() >= 2) {
|
||||
if (paths.back().role() == erExternalPerimeter && m_layer != NULL && m_config.perimeters.value > 0 && paths.front().size() >= 2 && paths.back().polyline.points.size() >= 2) {
|
||||
//get points for wipe
|
||||
Point prev_point = *(paths.back().polyline.points.end() - 2); // second to last point
|
||||
// *(paths.back().polyline.points.end() - 2) this is the same as (or should be) as paths.front().first_point();
|
||||
|
Loading…
x
Reference in New Issue
Block a user