hudbrog / gCodeViewer

a visual web based gcode analyzer
Other
419 stars 148 forks source link

Allow loading of .gx files #50

Closed btzy closed 6 years ago

btzy commented 7 years ago

*.gx files are the output of FlashPrint, the FlashForge slicer. Internally, .gx files are gcode files with a small header at the top of the file. They load correctly into the gCode Viewer already, but since it refuses .gx files, I need to rename them to .g files before gCode Viewer would accept them.

Maybe, instead of refusing to load the file, a warning could be displayed, with the option to attempt loading anyway.

Here's a sample .gx file produced by FlashPrint: clip.zip

PeterWBoyer commented 7 years ago

I agree with btzy. I too use FlashPrint which produces all my gcode files as ".gx" files. The gCodeViewer ought to automatically recognize the .gx files and open to be viewed.

ChristopherHoffman commented 6 years ago

Support for gx has been added! Give it a try ^_^

btzy commented 6 years ago

Thank you! It works well :)