A simple CNC state machine implemented in Python that can be used for simulation and processing of G-code