gcode_reader ============ .. py:module:: gcode_reader .. autoapi-nested-parse:: A Python library for reading, analyzing, and processing G-code files. Quick Start: >>> import gcode_reader as gr # Fast parsing (10-50ms, recommended for most use cases) >>> df = gr.gcode_file_to_dataframe('file.gcode', fast=True) >>> print(df[['x', 'y', 'z', 'time']].head()) # Full machine emulation (slower but includes kinematics) >>> df = gr.gcode_file_to_dataframe('file.gcode', machine='cead', fast=False) # Or access the Operation object intermediate representation >>> operation = gr.gcode_to_operation('file.gcode', machine='cead') # List all supported machines >>> gr.list_supported_machines() Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/gcode_reader/analysis/index /autoapi/gcode_reader/constants/index /autoapi/gcode_reader/emulate/index /autoapi/gcode_reader/interface/index /autoapi/gcode_reader/preprocess/index /autoapi/gcode_reader/read/index /autoapi/gcode_reader/syntax/index /autoapi/gcode_reader/visualize/index