Added extruder and bed temp to materials external db

This commit is contained in:
Donkie
2024-05-12 22:12:13 +02:00
parent 55471062ab
commit 46ab709f72
2 changed files with 4 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ class ExternalFilamentsFile(BaseModel):
class ExternalMaterial(BaseModel):
material: str = Field(example="PLA")
density: float = Field(example=1.24)
extruder_temp: Optional[int] = Field(default=None, description="Extruder/nozzle temperature in °C.", example=210)
bed_temp: Optional[int] = Field(default=None, description="Bed temperature in °C.", example=50)
class ExternalMaterialsFile(BaseModel):