diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index 524716f47..547a6b8df 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -914,6 +914,14 @@ sub generate_support_material { $contact{$contact_z} = [ @contact ]; $overhang{$contact_z} = [ @overhang ]; + + if (0) { + require "Slic3r/SVG.pm"; + Slic3r::SVG::output("contact_" . $layer->print_z . ".svg", + expolygons => union_ex(\@contact), + red_expolygons => \@overhang, + ); + } } } my @contact_z = sort keys %contact;