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
path: root/lib
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2013-07-06 13:35:40 +0400
committerAlessandro Ranellucci <aar@cpan.org>2013-07-06 13:35:40 +0400
commitf455ecb7dabe31c10c4c901c87b5290686923151 (patch)
tree22a2ef61877ce1e5accebcb2de2536a5510f75fc /lib
parent606d856af88dc0bc0cb36f0b4365b92b6fe692fc (diff)
Rename adjust_overhang_flow to overhangs
Diffstat (limited to 'lib')
-rw-r--r--lib/Slic3r/Config.pm11
-rw-r--r--lib/Slic3r/GCode.pm2
-rw-r--r--lib/Slic3r/GUI/Tab.pm4
3 files changed, 9 insertions, 8 deletions
diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm
index e0a066874..faa6fc06e 100644
--- a/lib/Slic3r/Config.pm
+++ b/lib/Slic3r/Config.pm
@@ -6,7 +6,8 @@ use utf8;
use List::Util qw(first);
# cemetery of old config settings
-our @Ignore = qw(duplicate_x duplicate_y multiply_x multiply_y support_material_tool acceleration);
+our @Ignore = qw(duplicate_x duplicate_y multiply_x multiply_y support_material_tool acceleration
+ adjust_overhang_flow);
my $serialize_comma = sub { join ',', @{$_[0]} };
my $serialize_comma_bool = sub { join ',', map $_ // 0, @{$_[0]} };
@@ -594,10 +595,10 @@ our $Options = {
type => 'bool',
default => 1,
},
- 'adjust_overhang_flow' => {
- label => 'Adjust overhang flow',
- tooltip => 'Experimental option to adjust flow for overhangs (bridge flow will be used).',
- cli => 'adjust-overhang-flow!',
+ 'overhangs' => {
+ label => 'Detect overhangs',
+ tooltip => 'Experimental option to adjust flow for overhangs (bridge flow will be used), to apply bridge speed to them and enable fan.',
+ cli => 'overhangs!',
type => 'bool',
default => 1,
},
diff --git a/lib/Slic3r/GCode.pm b/lib/Slic3r/GCode.pm
index 1a8fc9ea8..d4e498a9f 100644
--- a/lib/Slic3r/GCode.pm
+++ b/lib/Slic3r/GCode.pm
@@ -197,7 +197,7 @@ sub extrude_loop {
my @paths = ();
# detect overhanging/bridging perimeters
- if ($Slic3r::Config->adjust_overhang_flow && $extrusion_path->is_perimeter && @{$self->_layer_overhangs}) {
+ if ($Slic3r::Config->overhangs && $extrusion_path->is_perimeter && @{$self->_layer_overhangs}) {
# get non-overhang paths by subtracting overhangs from the loop
push @paths,
$extrusion_path->subtract_expolygons($self->_layer_overhangs);
diff --git a/lib/Slic3r/GUI/Tab.pm b/lib/Slic3r/GUI/Tab.pm
index ab0376b24..27ff3c56e 100644
--- a/lib/Slic3r/GUI/Tab.pm
+++ b/lib/Slic3r/GUI/Tab.pm
@@ -412,7 +412,7 @@ sub build {
},
{
title => 'Quality (slower slicing)',
- options => [qw(extra_perimeters avoid_crossing_perimeters start_perimeters_at_concave_points start_perimeters_at_non_overhang thin_walls adjust_overhang_flow)],
+ options => [qw(extra_perimeters avoid_crossing_perimeters start_perimeters_at_concave_points start_perimeters_at_non_overhang thin_walls overhangs)],
lines => [
Slic3r::GUI::OptionsGroup->single_option_line('extra_perimeters'),
Slic3r::GUI::OptionsGroup->single_option_line('avoid_crossing_perimeters'),
@@ -421,7 +421,7 @@ sub build {
options => [qw(start_perimeters_at_concave_points start_perimeters_at_non_overhang)],
},
Slic3r::GUI::OptionsGroup->single_option_line('thin_walls'),
- Slic3r::GUI::OptionsGroup->single_option_line('adjust_overhang_flow'),
+ Slic3r::GUI::OptionsGroup->single_option_line('overhangs'),
],
},
{