Revert "Merge remote-tracking branch 'origin/et_outofbed_optimization'"

This reverts commit a430aa41ba, reversing
changes made to a42d857136.
This commit is contained in:
enricoturri1966 2023-05-12 14:09:16 +02:00
parent 6b41e5d9b1
commit 35195dc03e
10 changed files with 173 additions and 367 deletions

View file

@ -469,13 +469,11 @@ std::string Print::validate(std::string* warning) const
return _u8L("The supplied settings will cause an empty print.");
if (m_config.complete_objects) {
if (!sequential_print_horizontal_clearance_valid(*this, const_cast<Polygons*>(&m_sequential_print_clearance_contours)))
return _u8L("Some objects are too close; your extruder will collide with them.");
if (!sequential_print_vertical_clearance_valid(*this))
return _u8L("Some objects are too tall and cannot be printed without extruder collisions.");
if (! sequential_print_horizontal_clearance_valid(*this))
return _u8L("Some objects are too close; your extruder will collide with them.");
if (! sequential_print_vertical_clearance_valid(*this))
return _u8L("Some objects are too tall and cannot be printed without extruder collisions.");
}
else
const_cast<Polygons*>(&m_sequential_print_clearance_contours)->clear();
if (m_config.avoid_crossing_perimeters && m_config.avoid_crossing_curled_overhangs) {
return _u8L("Avoid crossing perimeters option and avoid crossing curled overhangs option cannot be both enabled together.");