-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just "Total time: ( -14:-8 )" #2
Comments
can you upload one of the g-codes that fail (return ( -14:-8 )) so that I can see where the bug is? |
Sure, here is an example, generated with Simplify3d 4.01: |
thanks for the sample, I see this is S3D generated should be easy... anyhow I reproduced the bug so .. |
@burn2k for start there's a bug in your G-Code, looks like S3D has a bug .. they replace , with \n and you have in startup script
and this 0,1 they convert to 0\n1 so exported g-code (you can look in any txt editor) looks like:
and those "1" alone in line and "2mm" alone in line (what they converted , to new line from your 0,1 and 0,2mm) are making G-code erroneous... now this is not the bug that's affecting gcodestat, it will affect most printers (some will just ignore the error but you should fix that for your own sake and maybe report bug to s3d) what is a problem here is this line
or to be precise the comment in that line. I have no clue why, will check in a minute but if you remove the comment there everything works ok :) (so there's a workaround, just remove that comment from your startup script, leave only g-code and it should work ok) I'll be back with more asap |
Cool, thx for the fast reply. I will remove all comments and report back. Edit: Everything works perfect now :) |
fixed the bug :D stupid error in parsing the gcode line so I continued parsing after ; .. building new release and uploading fixes |
@burn2k thanks for report! and for testing. release v0.7 is up: https://github.com/arhi/gcodestat/releases/tag/0.7 please try and lemme know if it works now as expected :D |
Yes, all problems are gone for me! |
If I try to calculate the build time with version 0.6, I get only "Total time: ( -14:-8 )" as a result with all of my gcodes. If I use the integrated test.gcode, everything works fine.
The text was updated successfully, but these errors were encountered: