Your slicer. LayerMath. Automatic.
Stop copying print time and filament weights by hand. Our post-processing script reads your G-code and opens a pre-filled cost calculator the moment your slicer finishes.
How it works
Install once
Download a single Python script. No pip install, no dependencies. Run one setup command with your API key.
Slice as normal
Export G-code the way you always do. The script runs invisibly — it never slows down or interrupts your slicer.
Calculator opens pre-filled
Your browser opens LayerMath with print time, filament weight, material name, and machine already filled in.
Works on free and Pro
The plugin works for everyone. Pro unlocks what happens after the import.
| Feature | Free | Pro £9/mo |
|---|---|---|
| Slice imports per month | 5 | Unlimited |
| Pre-filled print time & filament | ✓ | ✓ |
| Single-material cost calculation | ✓ | ✓ |
| Multi-material per-slot pricing | — | ✓ |
| Filament library (auto cost lookup) | — | ✓ |
| Machine depreciation | — | ✓ |
| VAT / tax settings | — | ✓ |
| Batch pricing (multiple quantities) | — | ✓ |
| Etsy CSV export | — | ✓ |
Install in 3 steps
Requires Python 3.8+. Download free at python.org
- 1
Download the script
Save it somewhere permanent — your Documents folder works well.
Download layermath_postproc.py - 2
Run the setup command
Log in to see this command pre-filled with your API key. Or generate a key at Dashboard → Integrations.
How to open a terminal on Windows: Press Win + R, typecmd, press Enter. Or search "Command Prompt" in the Start menu.python "C:\Users\you\Documents\layermath_postproc.py" --set-key YOUR_API_KEYDon't know your Python path? Run
where pythonin your terminal. - 3
Add to your slicer
In PrusaSlicer / SuperSlicer go to:
Print Settings → Output Options → Post-processing scriptsEnter the full command:
"C:\path\to\python.exe" "C:\Users\you\Documents\layermath_postproc.py"Don't know your Python path?- Open Command Prompt (Win + R → type
cmd→ Enter) - Run
where pythonand press Enter - Copy the path shown (e.g.
C:\Users\you\AppData\Local\Programs\Python\Python312\python.exe) - Replace
C:\path\to\python.exewith that path in the command above
Save the setting, then slice something. Your browser will open LayerMath with everything pre-filled.
- Open Command Prompt (Win + R → type
Supported slicers
PrusaSlicer, SuperSlicer, OrcaSlicer, and Bambu Studio all use the same script file.