This crate implements the basic building blocks of Gerber X2 (compatible with Gerber RS-274X) code. It focusses on the low level types (to be used like an AST) and code generation and does not do any semantic checking.
For example, you can use an aperture without defining it. This will generate syntactically valid but semantially invalid Gerber code, but this module won't complain.
Minimal required Rust version: 1.13.
Current Gerber X2 spec: https://www.ucamco.com/files/downloads/file/81/thegerberfileformatspecification.pdf
Licensed under either of
at your option.