mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-15 04:57:34 +00:00
feat(CrealityPrint): add support for SPARKX i7 (F022)
Works directly with existing code, just adding the identifiers to the arrays.
This commit is contained in:
committed by
grant0013
parent
4469f009c4
commit
5aa3c76c36
@@ -260,7 +260,8 @@ bool CrealityPrint::supports_multi_color_print() const
|
|||||||
// K2-platform printers with CFS support
|
// K2-platform printers with CFS support
|
||||||
return m_model == "F008" // K2 Plus
|
return m_model == "F008" // K2 Plus
|
||||||
|| m_model == "F012" // K2 Pro
|
|| m_model == "F012" // K2 Pro
|
||||||
|| m_model == "F021"; // K2
|
|| m_model == "F021" // K2
|
||||||
|
|| m_model == "F022"; // SPARKX i7
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CrealityPrint::model_name() const
|
std::string CrealityPrint::model_name() const
|
||||||
@@ -269,6 +270,7 @@ std::string CrealityPrint::model_name() const
|
|||||||
{"F008", "K2 Plus"},
|
{"F008", "K2 Plus"},
|
||||||
{"F012", "K2 Pro"},
|
{"F012", "K2 Pro"},
|
||||||
{"F021", "K2"},
|
{"F021", "K2"},
|
||||||
|
{"F022", "SPARKX i7"},
|
||||||
};
|
};
|
||||||
query_model();
|
query_model();
|
||||||
if (m_model.empty())
|
if (m_model.empty())
|
||||||
|
|||||||
Reference in New Issue
Block a user