diff options
author | bubnikv <bubnikv@gmail.com> | 2016-10-21 11:18:01 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-10-21 11:18:01 +0300 |
commit | 15d3e94a66f7be869a77171841fcfe1726f44c56 (patch) | |
tree | 2911e87352a61f41c415769c29e9179dd88aef51 /lib | |
parent | 59f3fed9f22f9bb50529e9f2c335feed07100702 (diff) |
Unified the creation of paths of debugging output files
pointing to a predefined output directory.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Slic3r/Print/SupportMaterial.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Slic3r/Print/SupportMaterial.pm b/lib/Slic3r/Print/SupportMaterial.pm index d1ef0e045..875c5af1d 100644 --- a/lib/Slic3r/Print/SupportMaterial.pm +++ b/lib/Slic3r/Print/SupportMaterial.pm @@ -331,7 +331,7 @@ sub contact_area { if (0) { require "Slic3r/SVG.pm"; - Slic3r::SVG::output("out\\contact_" . $contact_z . ".svg", + Slic3r::SVG::output(Slic3r::DEBUG_OUT_PATH_PREFIX . "contact_" . $contact_z . ".svg", green_expolygons => union_ex($buildplate_only_top_surfaces), blue_expolygons => union_ex(\@contact), red_expolygons => union_ex(\@overhang), @@ -676,7 +676,7 @@ sub generate_toolpaths { if (0) { require "Slic3r/SVG.pm"; - Slic3r::SVG::output("out\\layer_" . $z . ".svg", + Slic3r::SVG::output(Slic3r::DEBUG_OUT_PATH_PREFIX . "layer_" . $z . ".svg", blue_expolygons => union_ex($base), red_expolygons => union_ex($contact), green_expolygons => union_ex($interface), @@ -831,7 +831,7 @@ sub generate_toolpaths { if (0) { require "Slic3r/SVG.pm"; - Slic3r::SVG::output("out\\to_infill_base" . $z . ".svg", + Slic3r::SVG::output(Slic3r::DEBUG_OUT_PATH_PREFIX . "to_infill_base" . $z . ".svg", red_expolygons => union_ex($contact), green_expolygons => union_ex($interface), blue_expolygons => $to_infill, |