mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-20 14:08:20 +00:00
Make the exclude-object outline tolerance a user setting (#16503)
* Make the exclude-object outline tolerance configurable Signed-off-by: Sergei Rozhkov <zmod@zmod.link> * fix(config): move exclude_object_tolerance to developer mode Signed-off-by: Sergei Rozhkov <zmod@zmod.link> * fix(config): move exclude_object_tolerance to expert mode Signed-off-by: Sergei Rozhkov <zmod@zmod.link> * feat(ui): hide exclude_object_tolerance for non-Klipper firmwares mend Signed-off-by: Sergei Rozhkov <zmod@zmod.link> * Test that a larger exclude object tolerance writes fewer outline points Signed-off-by: Sergei Rozhkov <zmod@zmod.link> --------- Signed-off-by: Sergei Rozhkov <zmod@zmod.link>
This commit is contained in:
1 parent
4c2ae6d202
commit
252bbbf9f5
8 files changed
+62
-1
No files matched your search
@@ -4629,6 +4629,17 @@ void PrintConfigDef::init_fff_params()
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionBool(false));
|
||||
|
||||
def = this->add("exclude_object_tolerance", coFloat);
|
||||
def->label = L("Outline tolerance");
|
||||
def->tooltip = L("Maximum deviation of the object outline written to EXCLUDE_OBJECT_DEFINE from the "
|
||||
"original outline. Larger values give fewer points, which helps firmware that stalls "
|
||||
"while parsing G-code with many objects. 0 keeps every point.");
|
||||
def->sidetext = L("mm");
|
||||
def->min = 0;
|
||||
def->max = 5;
|
||||
def->mode = comExpert;
|
||||
def->set_default_value(new ConfigOptionFloat(0.1));
|
||||
|
||||
def = this->add("gcode_comments", coBool);
|
||||
def->label = L("Verbose G-code");
|
||||
def->tooltip = L("Enable this to get a commented G-code file, with each line explained by a descriptive text. "
|
||||
|
||||
Reference in new issue
Block a user