Added some debugging code
This commit is contained in:
parent
4862d832b5
commit
abb5d1256f
1 changed files with 8 additions and 0 deletions
|
@ -914,6 +914,14 @@ sub generate_support_material {
|
||||||
|
|
||||||
$contact{$contact_z} = [ @contact ];
|
$contact{$contact_z} = [ @contact ];
|
||||||
$overhang{$contact_z} = [ @overhang ];
|
$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;
|
my @contact_z = sort keys %contact;
|
||||||
|
|
Loading…
Add table
Reference in a new issue