Find Filament Weight and Print Time in Your Slicer
What follows is based on published file excerpts and vendor documentation. File contents vary by slicer version and settings, so check your own file.
The numbers you need
For each plate, pricing needs three values: print time, filament weight (or length, with a way to convert), and filament type. Every slicer shows them in its preview. Many also write a summary into the G-code file, which is what lets a tool read them without retyping.
What different slicers write
- PrusaSlicer family: forum posts quoting complete files show footer comments with the estimated printing time (normal and silent mode) and filament used in mm, cm³ and grams, listed per extruder, plus a settings block with the filament type.
- Bambu Studio: headers we reviewed list a model printing time and a total estimated time, and in newer versions the total filament length and weight. An older version's sample showed density and diameter but no weight.
- OrcaSlicer: its header sample looks like Bambu's. The sample we found had no weight lines, so don't assume yours does.
- Cura: the header has
;TIME:in seconds and;Filament used:in metres. It does not state weight or filament type.
A tool can only report what the file contains. Craftivaro's G-code import marks every value "from file," "not in file" or "your estimate," and never invents a weight. When only length is given, converting needs the filament diameter and density; typical densities (PLA about 1.24 g/cm³, for example) are assumptions, so check your spool.
Plate totals, items and waste
A slicer reports the whole plate. If you print six keychains together:
- divide filament weight by six to get grams per item;
- divide machine time among the six too (printing more per plate is the cheapest cost reduction there is).
Slicer totals normally already include supports and, for multi-colour jobs, the purge and prime tower. Bambu's documentation says the usage shown includes flushing and the prime tower. Other slicers may differ, so check before adding a separate waste allowance, or you will count it twice.
Multicolour prints and waste
Colour changes on a single nozzle create waste: filament purged at each change and a prime or wipe tower that absorbs it. Bambu's wiki explains the tower is sized by where colour changes happen, so a model with changes only near the top still needs a tower up to that height; reorienting a part so its colour changes sit at the bottom cut one example's tower material by about 40%. That waste is money, so use the slicer's total weight for pricing, not the model's weight alone.
Using the numbers
- Slice the plate the way you will really print it (supports on, real orientation).
- Note time, weight and filament type from the slicer, or import the file.
- Enter items per plate.
- Add your own costs (finishing, packaging, fees) and solve for price.
Limits
If your file has no summary comments, or it is a .3mf or binary .bgcode file, a text reader can't use it. Export plain .gcode, or type the numbers from the preview.
Sources
- Prusa forum: slicing info in the G-code
- Bambu forum: filament in the G-code header (v01.08)
- Bambu wiki: view slicing information
- Bambu wiki: reduce waste during filament change
- Sovol: multicolour waste
- Circuits Online: example Cura header
Keep reading
This guide was written with AI assistance and cites the sources above; fees, policies and prices change, so verify them at the source. It is general information, not tax, legal or accounting advice.