mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 13:55:53 +08:00
Fix min extrusion length for perimeters
This commit is contained in:
parent
880eb59e73
commit
40015e8de5
@ -3152,7 +3152,8 @@ std::string GCode::extrude_loop(const ExtrusionLoop &original_loop, const std::s
|
||||
std::string gcode;
|
||||
for (ExtrusionPaths::iterator path = paths.begin(); path != paths.end(); ++path) {
|
||||
//path->simplify(SCALED_RESOLUTION); //should already be simplified
|
||||
gcode += this->_extrude(*path, description, speed);
|
||||
//gcode += this->_extrude(*path, description, speed);
|
||||
gcode += extrude_path(*path, description, speed);
|
||||
}
|
||||
|
||||
// reset acceleration
|
||||
@ -3245,9 +3246,10 @@ std::string GCode::extrude_loop(const ExtrusionLoop &original_loop, const std::s
|
||||
std::string GCode::extrude_multi_path(const ExtrusionMultiPath &multipath, const std::string &description, double speed) {
|
||||
// extrude along the path
|
||||
std::string gcode;
|
||||
for (ExtrusionPath path : multipath.paths) {
|
||||
for (const ExtrusionPath &path : multipath.paths) {
|
||||
//path.simplify(SCALED_RESOLUTION); //should already be simplified
|
||||
gcode += this->_extrude(path, description, speed);
|
||||
//gcode += this->_extrude(path, description, speed);
|
||||
gcode += extrude_path(path, description, speed);
|
||||
}
|
||||
if (m_wipe.enable) {
|
||||
m_wipe.path = std::move(multipath.paths.back().polyline); // TODO: don't limit wipe to last path
|
||||
|
Loading…
x
Reference in New Issue
Block a user