#511 fixed & efficient insert (no_perimeter_unsupported_algo bug)

This commit is contained in:
supermerill 2020-10-01 03:26:02 +02:00
parent 33dd8c3e13
commit 4c2b7f0f07
2 changed files with 1 additions and 8 deletions

View File

@ -3533,8 +3533,6 @@ std::string GCode::extrude_loop(const ExtrusionLoop &original_loop, const std::s
// extrude along the path
std::string gcode;
for (ExtrusionPaths::iterator path = paths.begin(); path != paths.end(); ++path) {
// description += ExtrusionLoop::role_to_string(loop.loop_role());
// description += ExtrusionEntity::role_to_string(path->role);
path->simplify(SCALED_RESOLUTION);
gcode += this->_extrude(*path, description, speed);
}
@ -3630,8 +3628,6 @@ std::string GCode::extrude_multi_path(const ExtrusionMultiPath &multipath, const
// extrude along the path
std::string gcode;
for (ExtrusionPath path : multipath.paths) {
// description += ExtrusionLoop::role_to_string(loop.loop_role());
// description += ExtrusionEntity::role_to_string(path->role);
path.simplify(SCALED_RESOLUTION);
gcode += this->_extrude(path, description, speed);
}

View File

@ -275,7 +275,6 @@ void PerimeterGenerator::process()
if (!unsupported_filtered.empty()) {
//add this directly to the infill list.
// this will avoid to throw wrong offsets into a good polygons
this->fill_surfaces->append(
@ -303,9 +302,7 @@ void PerimeterGenerator::process()
} else {
surface->expolygon = last[0];
for (size_t idx = 1; idx < last.size(); idx++) {
Surface new_surf = *surface;
new_surf.expolygon = last[idx];
all_surfaces.push_back(new_surf);
all_surfaces.emplace_back(*surface, last[idx]);
}
}
}