mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
ENH: support thumbnail in gcode for 3rd printers
Thanks @slynn1324 1. Add thumbnail size in printer params page 2. Optimize writing thumbnail data in gcode jira:STUDIO-3942 Github: #2166 Github pull request: #2333 Change-Id: I6897cfddfa6a1b0c95decf67329a486d40ec0cc2
This commit is contained in:
@@ -1708,6 +1708,15 @@ void PrintConfigDef::init_fff_params()
|
||||
def->tooltip = L("Enable this to enable the camera on printer to check the quality of first layer");
|
||||
def->mode = comDevelop;
|
||||
def->set_default_value(new ConfigOptionBool(false));
|
||||
|
||||
// BBS
|
||||
def = this->add("thumbnail_size", coPoints);
|
||||
def->label = L("Thumbnail size");
|
||||
def->tooltip = L("Decides the size of thumbnail stored in gcode files");
|
||||
def->mode = comDevelop;
|
||||
def->gui_type = ConfigOptionDef::GUIType::one_string;
|
||||
def->set_default_value(new ConfigOptionPoints{ Vec2d(50,50) });
|
||||
|
||||
//BBS
|
||||
// def = this->add("spaghetti_detector", coBool);
|
||||
// def->label = L("Enable spaghetti detector");
|
||||
|
||||
Reference in New Issue
Block a user