extract_file_metadata
Extract metadata from 3D printing files to get print time, layer count, filament usage, dimensions, and slicer info without re-slicing.
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 |