Estimates the time required for a gcode file to run
Go to file
2023-06-22 17:32:09 +03:00
config_example.json Changed calculator to use physics simulation 2023-06-22 17:32:09 +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 Changed calculator to use physics simulation 2023-06-22 17:32:09 +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 Changed calculator to use physics simulation 2023-06-22 17:32:09 +03:00
TimeCalc.cpp Changed calculator to use physics simulation 2023-06-22 17:32:09 +03:00
TimeCalc.h Changed calculator to use physics simulation 2023-06-22 17:32:09 +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 as is to get linear calculations for time
  • Copy config_example.json to config.json and edit based on your printer settings

Usage

./gcode_time [file] ...

file - a file containing gcode

Example output

Estimation - 05:20:10

Adding 10% - 05:52:11

Removing 10% - 04:48:09