Skip to main content

Module file

Module file 

Source
Expand description

What a printer knows of the files it holds, and of the filament they use.

These are what the three file reads of PrinterPort answer — the facts of one file, the files that carry a print tally, and the filament a file’s own moves extrude up to a position in it — declared beside the port whose methods carry them. Every length is the filament fed in, in millimetres, per tool.

Structs§

FileFacts
One file the printer holds, as its source describes it.
FilePrint
The last time a file was printed, and whether that print completed.
Footprint
The XY rectangle every extruding move of a file lies inside, in millimetres.
PrintedExtent
What a file printed up to a byte position in it: the highest Z any extruding move reached, and where in XY it laid material.
ToolFilament
The filament one tool feeds, as a length and, when it is known, a volume.