storage module¶
Working:¶
The storage.py uses a couple of predefined abstract functions to access the Local File Storage.
This holds all the files, folders and metadata related to OctoPuppet. Metadata is managed by metadata.yaml files in the respective
folders, indexed by sanitized filenames stored within the folder.
Data Model:¶
The fields listed below are updated in the metadata storage for OctoPuppet. The data values listed below are fed to the metadata for every print command issued; values are extracted from the gcode.
Key |
Description |
|---|---|
|
Estimated time the file takes to print, in minutes |
|
Substructure describing estimated filament usage. Keys are |
|
The extruded length in mm |
|
The extruded volume in cm³ |