From 8644440070380fcff1eb3396861b9c90d6e4fb1b Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 3 Mar 2014 14:20:15 +0100 Subject: [PATCH] Minor improvements to SVG debug output for medial axis --- lib/Slic3r/Layer/Region.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/Layer/Region.pm b/lib/Slic3r/Layer/Region.pm index ecf99591a..37cfbdf78 100644 --- a/lib/Slic3r/Layer/Region.pm +++ b/lib/Slic3r/Layer/Region.pm @@ -233,8 +233,9 @@ sub make_perimeters { Slic3r::SVG::output( "medial_axis.svg", no_arrows => 1, - #expolygons => \@thin_walls, - polylines => \@p, + expolygons => \@thin_walls, + green_polylines => [ map $_->polygon->split_at_first_point, @{$self->perimeters} ], + red_polylines => \@p, ); }