gwhite
Posts: 107
Joined: Wed Jul 19, 2017 9:37 am

Re: Build time is way off

Mon Nov 06, 2017 8:51 am

I'm certainly no expert, but I believe (at least with Marlin systems) that the software should be able to interrogate the settings that are set in the firmware.

Even if you are busy with your new born (congrats!), you've shown that a path exists. We just need S3D to pick up the ball & run with it.

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

Re: Build time is way off

Mon Nov 06, 2017 12:52 pm

gwhite wrote:I'm certainly no expert, but I believe (at least with Marlin systems) that the software should be able to interrogate the settings that are set in the firmware.
Yes, M503 is used to query the printer, but, it does not work on every firmware, it is formatted differently on each printer etc... and what is most important you don't often have your printer attached to the machine running s3d... normally you'll run them stand alone or attached to some rpi or similar mini computer accessible over network controled by some octoprint or similar system, even if you have only one printer that makes sense so not too useful to query printer. Some defaults should be configurable (s3d already have some default configuration per supported printer but s3d is completely ignoring accel/jerk/jd values and expect you to set them either on printer itself or in the start g-code manually (not ideal as it could make some very good things modifying acceleration and jerk settings during print but that's another story) but ...

anyhow, for me showing proper data in s3d is not too important, I look at the g-code and decide if that's what I want or not .. and then when I get what I want I send it to octoprint... there, before printing, for me is good to know how much time and how much plastic I'll have to spend and that's why I plan to make this (once) in to octoprint plugin :) ... of course if s3d exposed plugin interface I'm sure I'd make s3d plugin too but right now the only way to do it is to add it as postprocessor for saving file that would pop up some info... not very nice nor useful nor user friendly :(
gwhite wrote: you've shown that a path exists.
the path is there for a while :) for e.g. http://gcodeanalyser.com/

I shared the relevant piece of code already here https://forum.simplify3d.com/viewtopic. ... 310#p36310
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

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

Re: Build time is way off

Sun Dec 03, 2017 12:44 am

I had few free hours and I integrated my solution with S3D :D
https://github.com/arhi/gcodestat

video and files available (or will be): https://forum.simplify3d.com/viewtopic. ... 310#p36422
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”