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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/src/libslic3r/PrintConfig.cpp')
-rw-r--r--xs/src/libslic3r/PrintConfig.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/xs/src/libslic3r/PrintConfig.cpp b/xs/src/libslic3r/PrintConfig.cpp
index bb587a74a..83c5d5c9e 100644
--- a/xs/src/libslic3r/PrintConfig.cpp
+++ b/xs/src/libslic3r/PrintConfig.cpp
@@ -2240,11 +2240,21 @@ PrintConfigDef::PrintConfigDef()
def->category = L("Advanced");
def->tooltip = L("The object will be grown/shrunk in the XY plane by the configured value "
"(negative = inwards, positive = outwards). This might be useful "
- "for fine-tuning hole sizes.");
+ "for fine-tuning sizes.");
def->sidetext = L("mm");
def->cli = "xy-size-compensation=f";
def->default_value = new ConfigOptionFloat(0);
+ def = this->add("hole_size_compensation", coFloat);
+ def->label = L("Holes");
+ def->category = L("Advanced");
+ def->tooltip = L("The convex holes will be grown in the XY plane by the configured value"
+ " (negative = inwards, positive = outwards, should be positive as the holes are always a bit smaller)."
+ " This might be useful for fine-tuning hole sizes.");
+ def->sidetext = L("mm");
+ def->cli = "hole-size-compensation=f";
+ def->default_value = new ConfigOptionFloat(0);
+
def = this->add("z_offset", coFloat);
def->label = L("Z offset");
def->tooltip = L("This value will be added (or subtracted) from all the Z coordinates "