ENH: CLI: support multi-extruder slicing

1. add slicing errors for gcode in unprintable area, also for filament mapping
2. use common area for auto arrange
3. support filament_map/filament_map_mode related params
4. add logic to check the filament maps before slicing
5. uptodate support multi-extruder
6. switch new machine/filament support multi-extruder
7. process config params support transfer between mult-extruder and
   single-extruder
8. improve machine-limit logic support multi-extruder
9. flush-volume support multi-extruder
10. add default params to support auto mapping slicing

jira: no-jira
Change-Id: Ice39a365841322ddb586d39c56ff923626822528
(cherry picked from commit f518d6804a9de69deef81c20cd22005a4bbd0cd4)
This commit is contained in:
lane.wei
2024-10-23 16:07:59 +08:00
committed by Noisyfox
parent c99047c6a7
commit db0f3e484a
5 changed files with 524 additions and 51 deletions

View File

@@ -148,6 +148,8 @@ BuildVolume::BuildVolume(const std::vector<Vec2d> &printable_area, const double
extruder_volume.bboxf = m_bboxf;
extruder_volume.circle = m_circle;
}
//always ignore z
extruder_volume.bboxf.min.z() = -std::numeric_limits<double>::max();
m_extruder_volumes.push_back(std::move(extruder_volume));
}