From 1b5f8ea0caa586fdbbbe88154a1986fa1c3cc324 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 27 Jul 2013 19:07:25 +0200 Subject: [PATCH] Experimets with margin --- lib/Slic3r/Print/Object.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index 9d5f441c..8b7fedf9 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -806,10 +806,11 @@ sub generate_support_material { my $flow = $self->print->support_material_flow; # how much we extend support around the actual contact area - my $margin = $flow->scaled_width / 2; + #my $margin = $flow->scaled_width / 2; + my $margin = scale 3; # increment used to reach $margin in steps to avoid trespassing thin objects - my $margin_step = $margin/1; + my $margin_step = $margin/3; # if user specified a custom angle threshold, convert it to radians my $threshold_rad;