extract_file_metadata
Extract print time, layer count, filament usage, and other metadata from 3D printing files without re-slicing. Parses headers of .gcode, .3mf, .stl, .ufp files.
Instructions
Extract metadata from a 3D printing file (.gcode, .3mf, .stl, .ufp).
Parses file headers for estimated print time, layer count, filament usage,
dimensions, slicer info, and material hints — without re-slicing.
.. note::
For multi-object .gcode.3mf files, also consider using
``list_plate_objects()`` to see individual objects on the plate.
Args:
file_path: Path to the print file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |