mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-24 09:23:27 +00:00
Add Filament_Extruder_map (#160)
* Optimize: extruder_filament_map
* Fix: {print_time}
This commit is contained in:
@@ -1410,9 +1410,9 @@ void WipeTower2::set_extruder(size_t idx, int physical_extruder, const PrintConf
|
||||
|
||||
m_used_filament_length.resize(std::max(m_used_filament_length.size(), idx + 1)); // makes sure that the vector is big enough so we don't have to check later
|
||||
|
||||
// SM Orca: 回抽参数是挤出机属性,使用 physical_extruder
|
||||
m_filpar[idx].retract_length = config.retraction_length.get_at(physical_extruder);
|
||||
m_filpar[idx].retract_speed = config.retraction_speed.get_at(physical_extruder);
|
||||
// SM Orca: 回抽参数支持耗材覆盖,继承后存储在耗材位置,使用 filament_id (idx)
|
||||
m_filpar[idx].retract_length = config.retraction_length.get_at(idx);
|
||||
m_filpar[idx].retract_speed = config.retraction_speed.get_at(idx);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user