t-oster / LibLaserCut

a platform independant library to control Lasercutters. This is the base library for VisiCut
http://visicut.org
Other
60 stars 55 forks source link

Saving .lgc files to USB stick #18

Closed jrv closed 8 years ago

jrv commented 10 years ago

LaOSlaser has a feature request to support offering .lgc files on USB sticks. I can fix that on the firmware-side in LaOS. Could File->Save in Visicut also support .lgc files?

t-oster commented 10 years ago

You mean VisiCut should output LAOS-Code? Well, this is possible, it already does via the "debug-file" parameter in the LAOS driver. File->Save is not the right place in my opinion, because VisiCut's files should be lasercutter-agnostic and the lgc ist "the compiled form" if you see it like this. What I mean is, that LGC is what the driver makes out of the structured data, it gets from VisiCut. But it's just a matter of names. Files->Export would work for me ;). Implementation is dead simple, as it is already there. I just have to disable the sending routine and just write the file.

jrv commented 10 years ago

Calling it File->Export sounds like a good solution!