New algorithm for overhang detection

This commit is contained in:
Alessandro Ranellucci committed 2013-05-14 20:19:42 +02:00
1 parent 90280fe63b
commit 575127151b
5 files changed
+45 -10

No files matched your search

+3 -1
View File
@@ -38,7 +38,9 @@ sub _build_width {
my $min = $self->nozzle_diameter * 1.05;
my $max;
if ($self->role ne 'infill') {
if ($self->role eq 'perimeter') {
$min = $max = $self->nozzle_diameter;
} elsif ($self->role ne 'infill') {
# do not limit width for sparse infill so that we use full native flow for it
$max = $self->nozzle_diameter * 1.7;
}