Estimates the time required for a gcode file to run
Go to file
2023-06-22 20:48:59 +03:00
config_example.json Added print and travel acceleration. 2023-06-22 20:48:59 +03:00
gcode.cpp Changed calculator to use physics simulation 2023-06-22 17:32:09 +03:00
gcode.h Changed calculator to use physics simulation 2023-06-22 17:32:09 +03:00
json.hpp Changed calculator to use physics simulation 2023-06-22 17:32:09 +03:00
LICENSE Initial commit 2021-06-13 20:28:21 +03:00
main.cpp Added print and travel acceleration. 2023-06-22 20:48:59 +03:00
Makefile Changed calculator to use physics simulation 2023-06-22 17:32:09 +03:00
Point.cpp Added all code 2021-06-13 20:59:41 +03:00
Point.h Added all code 2021-06-13 20:59:41 +03:00
README.md Added print and travel acceleration. 2023-06-22 20:48:59 +03:00
TimeCalc.cpp Added print and travel acceleration. 2023-06-22 20:48:59 +03:00
TimeCalc.h Added print and travel acceleration. 2023-06-22 20:48:59 +03:00

Gcode Estimator

C/C++ Gcode Estimator

Credits

JSON Library Used - https://github.com/nlohmann/json v3.11.2

Prerequisites

g++ make

Building

  1. Go to the directory
  2. Execute make

Settings

  • Use without printer config to use linear moves. You should look at +10% Estimation
  • Alternatively copy config_example.json to config.json and 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