Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsupermerill <merill@free.fr>2022-05-05 20:51:48 +0300
committersupermerill <merill@free.fr>2022-05-05 17:55:09 +0300
commitb9be10ff69acc1998712f5d9ddf382bf5fd4e16d (patch)
tree69d08008c3a16270a40fb1c1d3e6c4155e7884af /src/libslic3r/PrintConfig.cpp
parent050702a2f5f5685f139ad7d6f8fd5402bfd5bd6c (diff)
Add monoprice server
supermerill/SuperSlicer#2779
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r--src/libslic3r/PrintConfig.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp
index ba62159db..90e924044 100644
--- a/src/libslic3r/PrintConfig.cpp
+++ b/src/libslic3r/PrintConfig.cpp
@@ -106,6 +106,7 @@ static const t_config_enum_values s_keys_map_PrintHostType{
{"klipper", htKlipper},
{"mpmdv2", htMPMDv2},
{"mks", htMKS },
+ {"monoprice", htMiniDeltaLCD },
};
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(PrintHostType)
@@ -3578,7 +3579,8 @@ void PrintConfigDef::init_fff_params()
def->label = L("Host Type");
def->category = OptionCategory::general;
def->tooltip = L("Slic3r can upload G-code files to a printer host. This field must contain "
- "the kind of the host.");
+ "the kind of the host."
+ "\nPrusaLink is only available for prusa printer.");
def->enum_keys_map = &ConfigOptionEnum<PrintHostType>::get_enum_values();
def->enum_values.push_back("prusalink");
def->enum_values.push_back("octoprint");
@@ -3589,6 +3591,7 @@ void PrintConfigDef::init_fff_params()
def->enum_values.push_back("klipper");
def->enum_values.push_back("mpmdv2");
def->enum_values.push_back("mks");
+ def->enum_values.push_back("monoprice");
def->enum_labels.push_back("PrusaLink");
def->enum_labels.push_back("OctoPrint");
def->enum_labels.push_back("Duet");
@@ -3598,6 +3601,7 @@ void PrintConfigDef::init_fff_params()
def->enum_labels.push_back("Klipper");
def->enum_labels.push_back("MPMDv2");
def->enum_labels.push_back("MKS");
+ def->enum_labels.push_back("Monoprice lcd");
def->mode = comAdvancedE | comPrusa;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionEnum<PrintHostType>(htOctoPrint));