mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Unified the creation of paths of debugging output files
pointing to a predefined output directory.
This commit is contained in:
parent
59f3fed9f2
commit
15d3e94a66
13 changed files with 42 additions and 74 deletions
|
@ -838,12 +838,8 @@ MedialAxis::build(ThickPolylines* polylines)
|
|||
|
||||
#ifdef SLIC3R_DEBUG
|
||||
{
|
||||
char path[2048];
|
||||
static int iRun = 0;
|
||||
sprintf(path, "out/MedialAxis-%d.svg", iRun ++);
|
||||
dump_voronoi_to_svg(this->lines, this->vd, polylines, path);
|
||||
|
||||
|
||||
dump_voronoi_to_svg(this->lines, this->vd, polylines, debug_out_path("MedialAxis-%d.svg", iRun ++).c_str());
|
||||
printf("Thick lines: ");
|
||||
for (ThickPolylines::const_iterator it = polylines->begin(); it != polylines->end(); ++ it) {
|
||||
ThickLines lines = it->thicklines();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue