mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH: flow_ratio cali support multi_extuder
jira: none Change-Id: I03399040a772043d3d20116b0588fd04e0725be1 (cherry picked from commit 38b3c32b6ae2ca63e815623144cb4c2a9c194977)
This commit is contained in:
@@ -1145,8 +1145,7 @@ void MachineObject::reset_mapping_result(std::vector<FilamentInfo>& result)
|
||||
|
||||
bool MachineObject::is_main_extruder_on_left() const
|
||||
{
|
||||
// only means the extruder is on the left hand when extruder id is 0
|
||||
return false;
|
||||
return printer_type.find("O1D") == std::string::npos; // not O1D
|
||||
}
|
||||
|
||||
bool MachineObject::is_multi_extruders() const
|
||||
@@ -1154,6 +1153,12 @@ bool MachineObject::is_multi_extruders() const
|
||||
return m_extder_data.total_extder_count > 1;
|
||||
}
|
||||
|
||||
bool MachineObject::need_SD_card() const
|
||||
{
|
||||
// todo: check whether need SD card
|
||||
return !is_multi_extruders();
|
||||
}
|
||||
|
||||
bool MachineObject::is_bbl_filament(std::string tag_uid)
|
||||
{
|
||||
if (tag_uid.empty())
|
||||
|
||||
Reference in New Issue
Block a user