added db model is transparent and fixed PETG translucent showing black

This commit is contained in:
RNL
2026-03-26 23:52:37 +11:00
parent 7e39d3e38d
commit 0dd4758860
13 changed files with 102 additions and 107 deletions

View File

@@ -259,6 +259,10 @@ class FilamentColor(models.Model):
default='Bambu Lab',
help_text="Manufacturer name"
)
is_transparent = models.BooleanField(
default=False,
help_text="True for clear/transparent filaments — display as checkerboard, not solid color"
)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
@@ -329,6 +333,10 @@ class Filament(models.Model):
max_length=7, null=True, blank=True,
help_text="Color hex code for display (#RRGGBB)"
)
is_transparent = models.BooleanField(
default=False,
help_text="True for clear/transparent filaments — display as checkerboard, not solid color"
)
# Physical properties
diameter = models.DecimalField(