init
This commit is contained in:
0
backend/app/seed/__init__.py
Normal file
0
backend/app/seed/__init__.py
Normal file
114
backend/app/seed/materials.py
Normal file
114
backend/app/seed/materials.py
Normal file
@@ -0,0 +1,114 @@
|
||||
MATERIALS = [
|
||||
{
|
||||
"name": "PLA",
|
||||
"category": "basic",
|
||||
"density_g_cm3": 1.24,
|
||||
"price_per_gram": 25.0,
|
||||
"flow_rate_mm3_s": 15.0,
|
||||
"max_temp_c": 60,
|
||||
"min_temp_c": -20,
|
||||
"strength": "medium",
|
||||
"flexibility": "low",
|
||||
"chemical_resistance": "low",
|
||||
"uv_resistance": "low",
|
||||
"food_safe": True,
|
||||
"description": "Базовый пластик. Лёгкий в печати, хорошая детализация. Для прототипов и декора.",
|
||||
"color_options": ["white", "black", "gray", "red", "blue", "green", "natural"],
|
||||
},
|
||||
{
|
||||
"name": "PETG",
|
||||
"category": "basic",
|
||||
"density_g_cm3": 1.27,
|
||||
"price_per_gram": 28.0,
|
||||
"flow_rate_mm3_s": 12.0,
|
||||
"max_temp_c": 80,
|
||||
"min_temp_c": -40,
|
||||
"strength": "high",
|
||||
"flexibility": "medium",
|
||||
"chemical_resistance": "medium",
|
||||
"uv_resistance": "medium",
|
||||
"food_safe": True,
|
||||
"description": "Универсальный инженерный пластик. Прочный, химстойкий, подходит для улицы.",
|
||||
"color_options": ["white", "black", "gray", "natural", "blue"],
|
||||
},
|
||||
{
|
||||
"name": "ABS",
|
||||
"category": "basic",
|
||||
"density_g_cm3": 1.04,
|
||||
"price_per_gram": 25.0,
|
||||
"flow_rate_mm3_s": 12.0,
|
||||
"max_temp_c": 100,
|
||||
"min_temp_c": -30,
|
||||
"strength": "high",
|
||||
"flexibility": "low",
|
||||
"chemical_resistance": "medium",
|
||||
"uv_resistance": "low",
|
||||
"food_safe": False,
|
||||
"description": "Термостойкий, ударопрочный. Требует закрытой камеры. Обрабатывается ацетоном.",
|
||||
"color_options": ["white", "black", "gray", "red", "blue"],
|
||||
},
|
||||
{
|
||||
"name": "PA (Nylon)",
|
||||
"category": "engineering",
|
||||
"density_g_cm3": 1.14,
|
||||
"price_per_gram": 50.0,
|
||||
"flow_rate_mm3_s": 10.0,
|
||||
"max_temp_c": 120,
|
||||
"min_temp_c": -40,
|
||||
"strength": "very_high",
|
||||
"flexibility": "medium",
|
||||
"chemical_resistance": "high",
|
||||
"uv_resistance": "medium",
|
||||
"food_safe": False,
|
||||
"description": "Инженерный пластик. Высокая прочность, износостойкость. Для шестерён, креплений.",
|
||||
"color_options": ["natural", "black"],
|
||||
},
|
||||
{
|
||||
"name": "PC (Поликарбонат)",
|
||||
"category": "engineering",
|
||||
"density_g_cm3": 1.20,
|
||||
"price_per_gram": 60.0,
|
||||
"flow_rate_mm3_s": 8.0,
|
||||
"max_temp_c": 140,
|
||||
"min_temp_c": -40,
|
||||
"strength": "very_high",
|
||||
"flexibility": "low",
|
||||
"chemical_resistance": "high",
|
||||
"uv_resistance": "high",
|
||||
"food_safe": False,
|
||||
"description": "Максимальная термостойкость и прочность. Для корпусов, работающих при высоких температурах.",
|
||||
"color_options": ["natural", "black"],
|
||||
},
|
||||
{
|
||||
"name": "TPU",
|
||||
"category": "engineering",
|
||||
"density_g_cm3": 1.21,
|
||||
"price_per_gram": 40.0,
|
||||
"flow_rate_mm3_s": 6.0,
|
||||
"max_temp_c": 80,
|
||||
"min_temp_c": -30,
|
||||
"strength": "medium",
|
||||
"flexibility": "very_high",
|
||||
"chemical_resistance": "high",
|
||||
"uv_resistance": "medium",
|
||||
"food_safe": False,
|
||||
"description": "Эластичный пластик, аналог резины. Для прокладок, амортизаторов, гибких деталей.",
|
||||
"color_options": ["white", "black", "natural"],
|
||||
},
|
||||
{
|
||||
"name": "PA-CF (Нейлон + углеволокно)",
|
||||
"category": "composite",
|
||||
"density_g_cm3": 1.18,
|
||||
"price_per_gram": 75.0,
|
||||
"flow_rate_mm3_s": 8.0,
|
||||
"max_temp_c": 150,
|
||||
"min_temp_c": -40,
|
||||
"strength": "extreme",
|
||||
"flexibility": "low",
|
||||
"chemical_resistance": "very_high",
|
||||
"uv_resistance": "high",
|
||||
"food_safe": False,
|
||||
"description": "Композит с углеволокном. Максимальная жёсткость и прочность. Замена алюминия.",
|
||||
"color_options": ["black"],
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user