mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-22 03:49:18 +02:00
[Feature] Add material mismatch and insufficient filament checks (#720)
[Feature] Add material mismatch and insufficient filament checks (#720)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user