mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH: use json to store filament & nozzle info
1.Use json to store nozzle hrc 2.Use json to store filament temp type jira: STUDIO-3488 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I8eb226e26352a41418f4e46d8cda403dc22ecff4 (cherry picked from commit 62a71d5b1947474d3d86be9015551c1007c89702)
This commit is contained in:
parent
9ce3487b20
commit
96abc3209a
7 changed files with 128 additions and 30 deletions
|
@ -210,6 +210,13 @@ enum NozzleType {
|
|||
ntCount
|
||||
};
|
||||
|
||||
static std::unordered_map<NozzleType, std::string>NozzleTypeEumnToStr = {
|
||||
{NozzleType::ntUndefine, "undefine"},
|
||||
{NozzleType::ntHardenedSteel, "hardened_steel"},
|
||||
{NozzleType::ntStainlessSteel, "stainless_steel"},
|
||||
{NozzleType::ntBrass, "brass"}
|
||||
};
|
||||
|
||||
// BBS
|
||||
enum PrinterStructure {
|
||||
psUndefine=0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue