Files
Fil-A-Management/filament/generic_catalog.py
T

24 lines
582 B
Python

"""Brand-neutral starter variants with illustrative color previews."""
MATERIALS = ("PLA", "ABS", "PETG", "ASA", "TPU")
COLORS = {
"Weiß": "#FFFFFF",
"Schwarz": "#222222",
"Grau": "#808080",
"Rot": "#D62828",
"Gelb": "#F4C430",
"Grün": "#228B22",
"Blau": "#2463BB",
"Orange": "#EF791D",
"Braun": "#805432",
}
GENERIC_CATALOG = {
f"{material} Standard": tuple(
(color, spool_type, "", None, swatch, "")
for color, swatch in COLORS.items()
for spool_type in ("spool", "refill")
)
for material in MATERIALS
}