[Feature] Add material mismatch and insufficient filament checks (#720)

[Feature] Add material mismatch and insufficient filament checks (#720)
This commit is contained in:
Keybored
2026-03-16 15:30:36 +01:00
committed by GitHub
parent 446da087a0
commit 3ca91eb6d1
16 changed files with 436 additions and 23 deletions
+1
View File
@@ -87,6 +87,7 @@ async def get_settings(
"spoolman_enabled",
"spoolman_disable_weight_sync",
"spoolman_report_partial_usage",
"disable_filament_warnings",
"check_updates",
"check_printer_firmware",
"include_beta_updates",
+5
View File
@@ -31,6 +31,10 @@ class AppSettings(BaseModel):
default=True,
description="Report Partial Usage for Failed Prints. When a print fails or is cancelled, report the estimated filament used up to that point based on layer progress.",
)
disable_filament_warnings: bool = Field(
default=False,
description="Disable insufficient filament warnings when printing or queueing prints",
)
# Updates
check_updates: bool = Field(default=True, description="Automatically check for updates on startup")
@@ -190,6 +194,7 @@ class AppSettingsUpdate(BaseModel):
spoolman_sync_mode: str | None = None
spoolman_disable_weight_sync: bool | None = None
spoolman_report_partial_usage: bool | None = None
disable_filament_warnings: bool | None = None
check_updates: bool | None = None
check_printer_firmware: bool | None = None
include_beta_updates: bool | None = None