Support for 3DPrinterOS cloud integration (#10403)

This commit is contained in:
3DPrinterOS SDK
2026-06-03 21:31:57 +03:00
committed by GitHub
parent 757b6a5c46
commit c467990724
7 changed files with 776 additions and 5 deletions

View File

@@ -148,7 +148,8 @@ static t_config_enum_values s_keys_map_PrintHostType {
{ "obico", htObico },
{ "flashforge", htFlashforge },
{ "simplyprint", htSimplyPrint },
{ "elegoolink", htElegooLink }
{ "elegoolink", htElegooLink },
{ "3dprinteros", ht3DPrinterOS }
};
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(PrintHostType)
@@ -4860,6 +4861,7 @@ void PrintConfigDef::init_fff_params()
def->enum_values.push_back("flashforge");
def->enum_values.push_back("simplyprint");
def->enum_values.push_back("elegoolink");
def->enum_values.push_back("3dprinteros");
def->enum_labels.push_back("PrusaLink");
def->enum_labels.push_back("PrusaConnect");
def->enum_labels.push_back("Octo/Klipper");
@@ -4874,6 +4876,7 @@ void PrintConfigDef::init_fff_params()
def->enum_labels.push_back("Flashforge");
def->enum_labels.push_back("SimplyPrint");
def->enum_labels.push_back("Elegoo Link");
def->enum_labels.push_back("3DPrinterOS");
def->mode = comAdvanced;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionEnum<PrintHostType>(htOctoPrint));