by Ian_W, published
Use This Project
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
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.
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
gCode.py by Ian_W is licensed under the Creative Commons - Attribution - Share Alike license.
What does this mean?
- You must attribute (give credit) to the creator of this Thing.
- You must distribute Remixes under the same license as the original.
- Remixing or Changing this Thing is allowed.
- Commercial use is allowed.
Show Some Love
Say thanks by giving Ian_W a tip and help them continue to share amazing Things with the Thingiverse community.Tip Designer
We're sure Ian_W would love to see what you've printed. Please document your print and share a Make with the community.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. It’s even easier to post a Make via the Thingiverse Mobile app (available via Google Play and Apple App Store).