How heygenstein/3dprinterinventory works
Print Inventory is a Windows desktop app for tracking filament, physical spools, 3D models, printers, and print attempts. Users manage inventory and models, record print jobs, and review remaining stock, costs, and print statistics in the main window. The central business stages are spool balance and archive rules, print-job recording, and dashboard aggregation, backed by SQLite. The README documents the broader UI capabilities; source-index references support the sampled component relationships, but unsampled implementation details are not inferred.
Main entry points: AppDbContext.cs EF Core context · PrintJobService.cs Print-job rules · MainForm.cs Main window · ManagePanel.cs Management drawer
Components 19
Application startup
- App startup
PrintInventory/Program.cs
Desktop interface
- Main window
PrintInventory/Forms/MainForm.cs - Management drawer
PrintInventory/Forms/ManagePanel.cs - Spool detail
PrintInventory/Forms/SpoolDetailPanel.cs - Print editor
PrintInventory/Forms/PrintJobEditForm.cs - Model editor
PrintInventory/Forms/ModelEditForm.cs
Inventory and print services
- Image storage
PrintInventory/Services/ImageStorageService.cs - Spool rules
PrintInventory/Services/SpoolService.cs - Print-job rules
PrintInventory/Services/PrintJobService.cs - Dashboard metrics
PrintInventory/Services/DashboardService.cs
Domain and persistence
- EF Core context
PrintInventory/Data/AppDbContext.cs - SQLite database
- Spools
PrintInventory/Data/Spool.cs - Filament types
PrintInventory/Data/Filament.cs - Print attempts
PrintInventory/Data/PrintJob.cs - Print models
PrintInventory/Data/PrintModel.cs - Printers
PrintInventory/Data/Printer.cs - App data paths
PrintInventory/Data/AppPaths.cs
Other components
- User
Connections 28
- User → App startup: starts
README.md - App startup → EF Core context: migrates database
PrintInventory/Program.cs - App startup → Main window: opens
PrintInventory/Program.cs - EF Core context → App data paths: configures file path
PrintInventory/Data/AppDbContext.cs - EF Core context → SQLite database: uses
PrintInventory/Data/AppDbContext.cs - Main window → Dashboard metrics: requests metrics
PrintInventory/Forms/MainForm.cs - Main window → Print-job rules: uses
PrintInventory/Forms/MainForm.cs - Main window → Management drawer: opens drawer
PrintInventory/Forms/MainForm.cs - Main window → Spool detail: opens details
PrintInventory/Forms/MainForm.cs - Management drawer → Spool rules: uses
PrintInventory/Forms/ManagePanel.cs - Management drawer → Print-job rules: uses
PrintInventory/Forms/ManagePanel.cs - Management drawer → Model editor: opens editor
PrintInventory/Forms/ManagePanel.cs - Management drawer → Filament types: manages
PrintInventory/Forms/ManagePanel.cs - Spool detail → Spool rules: adjusts stock
PrintInventory/Forms/SpoolDetailPanel.cs - Spool detail → Print-job rules: uses
PrintInventory/Forms/SpoolDetailPanel.cs - Print editor → Print-job rules: records job
PrintInventory/Forms/PrintJobEditForm.cs - Model editor → Image storage: stores preview
PrintInventory/Forms/ModelEditForm.cs - Image storage → App data paths: uses app paths
PrintInventory/Services/ImageStorageService.cs - Spool rules → EF Core context: reads and updates
PrintInventory/Services/SpoolService.cs - Print-job rules → Spool rules: uses stock rules
PrintInventory/Services/PrintJobService.cs - Print-job rules → EF Core context: reads and saves
PrintInventory/Services/PrintJobService.cs - Dashboard metrics → Spool rules: uses stock rules
PrintInventory/Services/DashboardService.cs - Dashboard metrics → EF Core context: queries data
PrintInventory/Services/DashboardService.cs - EF Core context → Spools: maps
PrintInventory/Data/AppDbContext.cs - EF Core context → Filament types: maps
PrintInventory/Data/AppDbContext.cs - EF Core context → Print attempts: maps
PrintInventory/Data/AppDbContext.cs - EF Core context → Print models: maps
PrintInventory/Data/AppDbContext.cs - EF Core context → Printers: maps
PrintInventory/Data/AppDbContext.cs