Unified the creation of paths of debugging output files

pointing to a predefined output directory.
This commit is contained in:
bubnikv 2016-10-21 10:18:01 +02:00
parent 59f3fed9f2
commit 15d3e94a66
13 changed files with 42 additions and 74 deletions

View file

@ -791,7 +791,7 @@ void gcode_spread_points(
#endif
float area_circle_total2 = float(M_PI) * sqr(radius);
float area_err = fabs(area_circle_total2 - area_circle_total) / area_circle_total2;
printf("area_circle_total: %f, %f, %f\n", area_circle_total, area_circle_total2, area_err);
// printf("area_circle_total: %f, %f, %f\n", area_circle_total, area_circle_total2, area_err);
float volume_full = float(M_PI) * sqr(radius) * height_target;
// if (true) {
// printf("volume_total: %f, volume_full: %f, fill factor: %f\n", volume_total, volume_full, 100.f - 100.f * volume_total / volume_full);