1259a7294a3f297ba7e0be3b41b43fd0a807b75c
Filament removal:
- Deleted app/models/filament.py, routers/filaments.py, templates/filaments.html
- Migration 0009: drops filaments table and filament_id FK from print_jobs
- Removed Filaments from sidebar and all internal references
FilamentDB integration (read-only):
- app/filamentdb.py: GET /reports/stock with 5-min in-memory cache
- available_materials() / available_colors() populate job form dropdowns
- Falls back to static constants if FilamentDB unreachable
- Dashboard filament count now from FilamentDB rolls_in_stock
- FILAMENTDB_URL added to .env.install; httpx added to requirements
Job detail page (/jobs/{id}):
- Two cards: Job info (customer, material, printer, bracket, timing, cost)
and File & Geometry (bounding box + volume from stl_cache)
- Log timeline with Add Entry modal
- Filename in jobs list links to detail page
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
POPS — Printing Operations Production System
A web-based production management system for 3D print farms.
Features
- Printer overview — see all printers and their current status at a glance
- Job queue — track what is printing now and what is in the pipeline
- Status updates & to-do lists — stay on top of ongoing work
- Filament database — connect to and manage your filament inventory
- Price calculator — calculate job costs
- Print log — keep a history of completed print jobs
Stack
- Backend: FastAPI
- Frontend: Web UI (served by FastAPI)
- Database: MySQL (managed via Alembic migrations)
- Deployment: Docker
Getting Started
Prerequisites
- Docker & Docker Compose
- A MySQL database instance
Run
docker compose up
The application will be available at http://localhost:8720.
Database Migrations
alembic upgrade head
Description
Languages
Python
54.1%
HTML
45.3%
Mako
0.4%
Dockerfile
0.2%