Estimates the time required for a gcode file to run
| config_example.json | ||
| gcode.cpp | ||
| gcode.h | ||
| json.hpp | ||
| LICENSE | ||
| main.cpp | ||
| Makefile | ||
| Point.cpp | ||
| Point.h | ||
| README.md | ||
| TimeCalc.cpp | ||
| TimeCalc.h | ||
Gcode Estimator
C/C++ Gcode Estimator
Credits
JSON Library Used - https://github.com/nlohmann/json v3.11.2
Prerequisites
g++ make
Building
- Go to the directory
- Execute
make
Settings
- Use without printer config to use linear moves. You should look at +10% Estimation
- Alternatively copy
config_example.jsontoconfig.jsonand edit based on your printer settings. You should look at -15% Estimation
Usage
./gcode_time [file] ...
file - a file containing gcode
Example output
Estimation - 05:20:10
+10% - 05:52:11
-15% - 04:32:09