Skip to main content

Python library for extraction of metadata from g-code files

Project description

This program is used for obtaining metadata from G-code files e.g. file name, material type, estimated print time, etc.

First, program will try to obtain any useful metadata from the file name. Then the G-code file is quick parsed by looking at comment blocks in the beginning and at the end of a file. If this parsing keeps failing, file is parsed using line by line method.

Any metadata obtained from the path will be overwritten by metadata from the file if the metadata is contained there as well.

Desired metadata are specified by Attributes in FDMMetaData class.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-gcode-metadata-0.1.0.tar.gz (1.5 MB view hashes)

Uploaded Source

Built Distribution

py_gcode_metadata-0.1.0-py3-none-any.whl (30.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page