mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
ENH: modify Support W/G display name
Change-Id: I8fbdea4411073a74df804cbcc466027b1c3e941f Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
362c365679
commit
415fb2989d
2 changed files with 23 additions and 9 deletions
|
@ -4264,24 +4264,34 @@ std::string DynamicPrintConfig::get_filament_type(std::string &displayed_filamen
|
|||
if (is_support) {
|
||||
if (filament_id) {
|
||||
if (filament_id->get_at(id) == "GFS00") {
|
||||
displayed_filament_type = "Support W";
|
||||
displayed_filament_type = "Sup.PLA";
|
||||
return "PLA-S";
|
||||
}
|
||||
else if (filament_id->get_at(id) == "GFS01") {
|
||||
displayed_filament_type = "Support G";
|
||||
displayed_filament_type = "Sup.PA";
|
||||
return "PA-S";
|
||||
}
|
||||
else {
|
||||
displayed_filament_type = filament_type->get_at(id);
|
||||
return filament_type->get_at(id);
|
||||
if (filament_type->get_at(id) == "PLA") {
|
||||
displayed_filament_type = "Sup.PLA";
|
||||
return "PLA-S";
|
||||
}
|
||||
else if (filament_type->get_at(id) == "PA") {
|
||||
displayed_filament_type = "Sup.PA";
|
||||
return "PA-S";
|
||||
}
|
||||
else {
|
||||
displayed_filament_type = filament_type->get_at(id);
|
||||
return filament_type->get_at(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (filament_type->get_at(id) == "PLA") {
|
||||
displayed_filament_type = "Support W";
|
||||
displayed_filament_type = "Sup.PLA";
|
||||
return "PLA-S";
|
||||
} else if (filament_type->get_at(id) == "PA") {
|
||||
displayed_filament_type = "Support G";
|
||||
displayed_filament_type = "Sup.PA";
|
||||
return "PA-S";
|
||||
} else {
|
||||
displayed_filament_type = filament_type->get_at(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue