Martin Hohenberg
bc6e06a2e2
Add cost/time estimate card to job detail page
app/estimation.py:
- 20% infill → material volume → weight (density per material)
- print time at 20 g/h (conservative FDM average)
- filament cost at FILAMENT_PRICE_PER_KG EUR/kg (env, default 15)
- +20% misprint buffer, +30% gross profit margin
- net price (ex. VAT) and gross price (VAT_RATE %, env, default 19)
Card shows three columns: Material & Time / Production cost / Suggested price.
Only rendered when STL volume is available. Assumptions shown in card header.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 22:40:52 +02:00
..
2026-06-18 22:17:55 +02:00
2026-06-18 22:40:52 +02:00
2026-06-18 22:40:52 +02:00
2026-06-18 19:21:55 +02:00
2026-06-18 22:08:29 +02:00
2026-06-18 21:21:51 +02:00
2026-06-18 22:40:52 +02:00
2026-06-18 22:22:32 +02:00
2026-06-18 22:12:47 +02:00
2026-06-18 22:04:11 +02:00
2026-06-18 21:55:49 +02:00