From abe048686b4038a55708ef04944c9777b5086f80 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Fri, 4 May 2012 20:37:51 +0200 Subject: [PATCH] More distance between object and support material. #343 --- lib/Slic3r/Print/Object.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index 64d7f37b..fea9ec58 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -419,6 +419,8 @@ sub generate_support_material { my $self = shift; my %params = @_; + my $distance_from_object = 3; # mm + # determine unsupported surfaces my %layers = (); my @unsupported_expolygons = (); @@ -430,7 +432,7 @@ sub generate_support_material { if (@b) { @c = @{diff_ex( [ map @$_, @b ], - [ map @$_, map $_->expolygon->offset_ex(scale $Slic3r::flow_width), @{$layer->slices} ], + [ map @$_, map $_->expolygon->offset_ex(scale $distance_from_object), @{$layer->slices} ], )}; $layers{$i} = [@c]; }