mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
NEW: add more info for multi-nozzles printers
JIRA: STUDIO-9111 Change-Id: I5ed619d57b6857f5d4a1e38662d2fe03640222a3 Signed-off-by: Stone Li <stone.li@bambulab.com> (cherry picked from commit 993228d3e99e7976a3839b29453b53023ec18b71)
This commit is contained in:
@@ -513,6 +513,15 @@ std::string get_extruder_variant_string(ExtruderType extruder_type, NozzleVolume
|
||||
return variant_string;
|
||||
}
|
||||
|
||||
std::string get_nozzle_volume_type_string(NozzleVolumeType nozzle_volume_type)
|
||||
{
|
||||
if (nozzle_volume_type > nvtMaxNozzleVolumeType) {
|
||||
BOOST_LOG_TRIVIAL(error) << __FUNCTION__ << boost::format(", unsupported NozzleVolumeType=%1%") % nozzle_volume_type;
|
||||
return "";
|
||||
}
|
||||
return s_keys_names_NozzleVolumeType[nozzle_volume_type];
|
||||
}
|
||||
|
||||
std::vector<std::map<int, int>> get_extruder_ams_count(const std::vector<std::string>& strs)
|
||||
{
|
||||
std::vector<std::map<int, int>> extruder_ams_counts;
|
||||
|
||||
Reference in New Issue
Block a user