mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
ENH: Add gcode check for multi_extruder
jira: none Change-Id: Iebc43e608c4509eb62b280af2d401fa9e0e089ba (cherry picked from commit c75c10e312b8d0bd5404d92db88c95a9e6186bc1)
This commit is contained in:
@@ -2651,6 +2651,16 @@ FilamentMapMode Print::get_filament_map_mode() const
|
||||
return m_config.filament_map_mode;
|
||||
}
|
||||
|
||||
std::vector<Vec2d> Print::get_printable_area()
|
||||
{
|
||||
return m_config.printable_area.values;
|
||||
}
|
||||
|
||||
std::vector<std::vector<Vec2d>> Print::get_extruder_printable_area()
|
||||
{
|
||||
return m_config.extruder_printable_area.values;
|
||||
}
|
||||
|
||||
size_t Print::get_extruder_id(unsigned int filament_id) const
|
||||
{
|
||||
std::vector<int> filament_map = get_filament_maps();
|
||||
|
||||
Reference in New Issue
Block a user