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@fr.fr>2020-06-11 13:19:06 +0300
committersupermerill <merill@fr.fr>2020-06-17 13:25:21 +0300
commitbbbb4d9396373a63246ca3a9ed90d0e04683619d (patch)
treee79ced276fcdca0c378d0ef889b5b208557f3a47 /src/slic3r/GUI/PresetHints.cpp
parent498c48580a9e7ddec544f18860559ad4339a6d52 (diff)
#4 perimeter overlaps : total control over perimeter width vs spacing.
- add a spacing_ratio in flow, but it's only sed for two spacing in perimeter_generator, not sure about the usefulness of it. - external_perimeter_overlap now use the spacing_ratio to compute - add perimeter_overlap, using the spacing_ratio to compute - add perimeter_bonding, that shrink the external-internal spacing, without growing the infill polygons.
Diffstat (limited to 'src/slic3r/GUI/PresetHints.cpp')
-rw-r--r--src/slic3r/GUI/PresetHints.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/PresetHints.cpp b/src/slic3r/GUI/PresetHints.cpp
index 1901ce2cd..9a3e8fee5 100644
--- a/src/slic3r/GUI/PresetHints.cpp
+++ b/src/slic3r/GUI/PresetHints.cpp
@@ -319,6 +319,9 @@ std::string PresetHints::recommended_thin_wall_thickness(const PresetBundle &pre
*print_config.opt<ConfigOptionFloatOrPercent>("perimeter_extrusion_width"),
nozzle_diameter, layer_height, false);
+ //set spacing
+ external_perimeter_flow.spacing_ratio = print_config.opt<ConfigOptionPercent>("external_perimeter_overlap")->get_abs_value(1);
+ perimeter_flow.spacing_ratio = print_config.opt<ConfigOptionPercent>("perimeter_overlap")->get_abs_value(1);
if (num_perimeters > 0) {
int num_lines = std::min(num_perimeters, 6);