Wed Aug 16, 2017 11:20 am
I made a small c app that reads g-code and calculates the time it takes to print. with my smoothieware printers it's spot on (can't account for homing, waiting for temperature etc.. but the "print part" it is accurate inside a minute per my measurements so far). it's not finished (kinda "works for me stage" as it ignores acceleration and jerk settings for Z axis (treat it as XY) and completely ignores E axis (assumes printer will not slow down 'cause your extruder can't follow). Acceleration part is compatible with both marlin and smoothieware but jerk is only smoothieware compatible (no clue how marlin calculates corner speeds) .. if anyone interested I can share .. it was a "1hour project" some years ago that was stopped after 1hour ... can be tweaked a lot if one have time, code should probbly be reorganized and reusable parts grouped but .. it works as is

gcodestat integrates with Simplify3D and allow you to
Calculate print time accurately (acceleration, max speed, junction deviation all taken into consideration)
Embed M117 codes into G-Code
Upload your G-Code directly to Octoprint
open source and unlicence