mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fix of
Extend the "filament type" list with PC or allow free form text into the filament type field. #1704
This commit is contained in:
parent
de8db7ccc4
commit
c7f6e5436c
4 changed files with 21 additions and 3 deletions
|
@ -474,6 +474,8 @@ WipeTowerPrusaMM::material_type WipeTowerPrusaMM::parse_material(const char *nam
|
|||
return NGEN;
|
||||
if (strcasecmp(name, "PVA") == 0)
|
||||
return PVA;
|
||||
if (strcasecmp(name, "PC") == 0)
|
||||
return PC;
|
||||
return INVALID;
|
||||
}
|
||||
|
||||
|
@ -489,6 +491,7 @@ std::string WipeTowerPrusaMM::to_string(material_type material)
|
|||
case EDGE: return "EDGE";
|
||||
case NGEN: return "NGEN";
|
||||
case PVA: return "PVA";
|
||||
case PC: return "PC";
|
||||
case INVALID:
|
||||
default: return "INVALID";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue