Xinqi Bao's Git
1 #include "Configurations.hh"
4 string stl_filePath
= "./stl_files/"; // directory for storing stl files
5 string gcode_filePath
= "./gcode_files/"; // directory for storing gcode files
7 double thr
= 0.000000001; // Threshold
8 double dzEachLevel
= 1; // high for mm to assign to one level
9 double centerX
= 100; // center X
10 double centerY
= 100; // center Y
11 double centerZ
= 0; // center Z
12 bool needMoveToCenter
= true;
13 bool needSupportMaterial
= true;
16 double zgap
= 0.2; // gap between each adjacent layers
17 double ingap
= 0.2; // gap for infill
18 double ef
= 0.015; // factor for extrude, e += distance * ef
19 double emax
= 100; // When E bigger than 10000, the precision will lose,
20 // terrible things happen