Xinqi Bao's Git

README.md: updated paper url
[XbSlicer.git] / src / Configurations.cc
1 #include "Configurations.hh"
2 using namespace std;
3
4 string stl_filePath = "./stl_files/"; // directory for storing stl files
5 string gcode_filePath = "./gcode_files/"; // directory for storing gcode files
6
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;
14
15 double zStart = 0.3;
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