Estimates the time required for a gcode file to run
Go to file
2023-06-23 12:30:11 +03:00
config_example.json Added Retract Acceleration 2023-06-23 12:30:11 +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 Retract Acceleration 2023-06-23 12:30:11 +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 Retract Acceleration 2023-06-23 12:30:11 +03:00
TimeCalc.cpp Added Retract Acceleration 2023-06-23 12:30:11 +03:00
TimeCalc.h Added Retract Acceleration 2023-06-23 12:30:11 +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. It's not reliable on prints with lots of infill.
  • Alternatively copy config_example.json to config.json and edit based on your printer settings. You should look at -12.5% Estimation

Usage

./gcode_time [file] ...

file - a file containing gcode

Example output

Estimation - 05:20:10

+10% - 05:52:11

-12.5% - 04:40:09