arhi
Posts: 446
Joined: Thu Oct 06, 2016 5:13 pm

S3D -> OctoPrint and proper time estimates

Thu Jun 07, 2018 10:13 pm

If you are using machine control panel in S3D to print ignore this post (think about why do you risk using non dedicated machine to control a long running real time process but anyhow ignore this post it's not relevant for you)

If you are using OctoPrint you know that it can't properly estimate the print time of your G-Code file
You are on this forum so you are using S3D and you know it can't properly estimate print time fo G-Code it's generating... also, you know S3D can't directly shoot the G-Code file to OctoPrint...

2 things that can help, both of course open source and free..
* gcodestat - https://github.com/arhi/gcodestat - can shoot files directly from s3d to octoprint + can preprocess files embedding M117 codes into them with exact time to finish values
* gcodestatEstimator - https://github.com/arhi/OctoPrint-gcodestatEstimator - a plugin for octoprint that reads embedded M117 codes and uses that data so octoprint can display proper (now correct) time to finish values (note that this plugin requires octoprint 1.3.9 or newer, 1.3.9 is not yet out, you can build it yourself, should be available soon depending on how quickly Gina can fix few remaining issues)

I'm making this "separate topic" 'cause while in number of topics about wrong time estimates data about gcodestat, how to set it up, use .. exist, they are spread trough the forum and are hard to follow, so if anyone have any questions (ideas, suggestions..) better put them here
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

TheBum
Posts: 128
Joined: Fri May 18, 2018 11:13 pm

Re: S3D -> OctoPrint and proper time estimates

Fri Jun 08, 2018 12:48 pm

I'll definitely look into this when an official 1.3.9 release is done.

arhi
Posts: 446
Joined: Thu Oct 06, 2016 5:13 pm

Re: S3D -> OctoPrint and proper time estimates

Fri Jun 08, 2018 1:25 pm

TheBum wrote:
Fri Jun 08, 2018 12:48 pm
I'll definitely look into this when an official 1.3.9 release is done.
You can use gcodestat immediately to embed M117 codes and upload files to octoprint. The M117 will display time to finish and % printed on your printer LCD (if you have one) so even with current 1.3.8 you can use gcodestat without any issues...

the plugin that will read the M117 data and update octoprint estimator you can use when 1.3.9 is officially out
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

Return to “General Discussion and Tips”