tenaja
Posts: 156
Joined: Wed Dec 17, 2014 5:16 pm

Crash on "File->Preview G-Code File..."

I had problems with a file generated by Slic3r, so I decided to view the g-code file, and thought I'd try out S3d's previewer. The program promptly crashed. I deleted everything out, so all that was left was comments at the bottom, and it still crashed.

Tried a file generated by S3d, and that crashed S3d crashed too.

Has anybody gotten this feature to work in the current version? Am I missing something that is not obvious, like "File->Preview G-Code File..." does not let you actually open and view a g-code file?
User avatar
dkightley
Posts: 2405
Joined: Tue Mar 10, 2015 4:09 pm

Re: Crash on "File->Preview G-Code File..."

The Preview from GCode has always worked for me.

And perhaps I might clarify that the preview is NOT a preview of the GCode as lines of commands....it previews the model visually in the same way as you would preview an .stl file before printing. To view the GCode file as commands, I suggest using a text editor.

As to why S3D is crashing when you try using the GCode preview option, I can only think of two reasons....either the GCode file is corrupted or otherwise invalid, or you have a possible issue with your graphics driver. A forum search will turn up good advice on the latter.
Doug Kightley
Volunteer at the National Tramway Museum http://www.tramway.co.uk
Railway modeller and webmaster at http://www.talkingtgauge.net
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Crash on "File->Preview G-Code File..."

Works fine for me. Why don't you post the gcode files that are causing the problem? There's probably something wrong with them.
tenaja
Posts: 156
Joined: Wed Dec 17, 2014 5:16 pm

Re: Crash on "File->Preview G-Code File..."

dkightley wrote:And perhaps I might clarify that the preview is NOT a preview of the GCode as lines of commands....it previews the model visually in the same way as you would preview an .stl file before printing.
That is exactly what I was hoping for!

It crashed on every file I could try, even a file with no g-code commands. Doesn't matter which slicer created the file. It starts parsing, and about 2 seconds later it crashes. I'm not talking about previewing the g-code just generated, I'm talking about opening a file from the File menu option "Preview G-Code File...". Here is one entire file that just crashed:

Code: Select all

; G-Code generated by Simplify3D(R) Version 3.0.1
; Mar 24, 2016 at 9:38:55 AM
; Settings Summary
Here is another entire file that crashes:

Code: Select all

G90
G1 X1.00 F1500
No amount or lack of code can be opened without crashing.

Can you post a file that actually works?
User avatar
dkightley
Posts: 2405
Joined: Tue Mar 10, 2015 4:09 pm

Re: Crash on "File->Preview G-Code File..."

For what it's worth, here's a gcode file I selected randomly and previewed successfully.
Attachments
1-3a.gcode
(958.21 KiB) Downloaded 306 times
Doug Kightley
Volunteer at the National Tramway Museum http://www.tramway.co.uk
Railway modeller and webmaster at http://www.talkingtgauge.net
tenaja
Posts: 156
Joined: Wed Dec 17, 2014 5:16 pm

{resolved} Re: Crash on "File->Preview G-Code File..."

dkightley wrote:For what it's worth, here's a gcode file I selected randomly and previewed successfully.
Thanks.

I could not open it; it crashed.

Win 7 x64.


Oops; just updated from 3.0.1 to 3.0.2, and now it works. Maybe there was a corruption in the installation. Since there were no bug fixes listed in the ChangeLog, and no improvements that concerned me, I hadn't updated yet.

Return to “Troubleshooting and Bug Reports”