libbgcode
libbgcode copied to clipboard
Prusa Block & Binary G-code reader / writer / converter
Right now the G-Code data block just lists the encoding header format and lists the possible values for the header field: ``` 0 = No encoding 1 = MeatPack algorithm...
Something sorely needed in the CNC world is security. GCode isn't just used for 3D printing, it is used in CNC equipment moving tons of material at high speed. We...
According to the spec, the size of the block parameters is variable, but not defined anywhere in the block. This is not a good idea, since a generic reader will...
https://github.com/prusa3d/libbgcode/blob/bc390aab4427589a6402b4c7f65cf4d0a8f987ec/doc/specifications.md is a bit unclear in my opinion: It says that several of the blocks are "tables of key-value pairs". No where is the format of that table defined. I'm...
It would be great to have a standard set of keys for the metadata. For instance: * Overall dimensions. The printer might reject or warn the user in case the...
How the tittle says, can we add to the readme, after concerting the G-code to binary, how can we send it to the printer, and how will the printer use...
I believe a structured encoding for key-value might be easier to parse. For instance: ``` unit16_t keySize; char* key; uint16_t valueSize; char* value; ``` The specification might add a limit...