mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-03 18:27:59 -05:00
Add multi-variant support to the app
This commit is contained in:
1 parent
2ccabb5695
commit
71bb400e46
27 files changed
+846
-195
No files matched your search
@@ -347,6 +347,10 @@ static wxString _generate_nozzle_id(NozzleVolumeType nozzle_type, const std::str
|
||||
nozzle_id += "H";
|
||||
break;
|
||||
}
|
||||
case NozzleVolumeType::nvtE3DHighFlow: {
|
||||
nozzle_id += "B";
|
||||
break;
|
||||
}
|
||||
default:
|
||||
nozzle_id += "H";
|
||||
break;
|
||||
@@ -368,6 +372,8 @@ NozzleVolumeType convert_to_nozzle_type(const std::string &str)
|
||||
res = NozzleVolumeType::nvtStandard;
|
||||
else if (str[1] == 'H')
|
||||
res = NozzleVolumeType::nvtHighFlow;
|
||||
else if (str[1] == 'B')
|
||||
res = NozzleVolumeType::nvtE3DHighFlow;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user