Loading

gCode.py

by Ian_W, published

gCode.py by Ian_W Dec 30, 2012

Description

Python script to extract the 'Print-O-Matic' parameters from a .gcode file.

I've just started to explore Python, so please excuse the basic nature of the code.

More from 3D Printer Accessories

view more

Liked By

view all

Tags

License

gCode.py by Ian_W is licensed under the Creative Commons - Attribution - Share Alike license.

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

Instructions

The script takes one or two arguments. Enter gCode.py -h for details. If only the input file is given, the the output file is generated from this, with the extension changed to .info.

Feel free to modify or improve.

V 1.01 uploaded to fix parse problem with filament diameter
V 1.1 uploaded - has improved line parsing
Top