Workshop
Spools and their history
Every spool of filament is registered in the admin app with its filament type, colour, the net weight on the label, the weight of the empty spool, and the grams on it now. More grams than the label says are accepted, since spools are sometimes overfilled.
Each spool keeps a history of everything that happened to it: loaded into a printer slot, taken out, filament used by a print, filament wasted, reweighed, corrected, tag attached or removed, retired. The remaining grams are worked out from that history, so the history is the record and can always explain the figure.
A retired spool leaves the stock, and its printer slot and its tag become free.
NFC tags
A tag is a sticker with a link to the admin app. Scanning it with a phone opens the spool it is attached to. Attaching a tag to a spool removes it from whatever it was attached to before.
Filament used when printing starts
When the owner marks an order as printing, the system deducts the grams the print needs, for all copies and per colour, as estimated when the model was prepared. It takes them from the spool of the right filament and colour that is loaded in the printer. When no loaded spool matches, or more than one does, the owner picks the spool. Each print attempt is deducted once, even if the owner taps twice.
Reweighing
The estimate drifts from the real weight over time. The owner puts the spool on a scale and enters the weight; the system subtracts the empty spool's weight, replaces the estimate with the result and records the difference in the history. A spool is flagged for reweighing when its estimate drops below zero, or when a print took filament from a spool that had been retired. A mistake can also be fixed with a correction and a note.
After a failed print
The owner records a failed print with the grams that were wasted from each spool, which are taken off those spools. They can print again straight away: the next attempt's grams are deducted, on the same printer or another one, and the order stays in Printing.
Planned (owner admin plan): a connection to the printers to see their state live, a print queue, and a timeline of the queue.