18 lines
387 B
Markdown
18 lines
387 B
Markdown
# Material
|
|
|
|
## Class Definition
|
|
|
|
```python
|
|
class Material(material_id: str, name: Optional[str] = None, density: Optional[float] = None, density_unit: Optional[str] = None, color: Optional[Vec3] = None)
|
|
```
|
|
|
|
*Source: product.py*
|
|
|
|
## Import Surface
|
|
|
|
- top-level: `from simplecadapi import Material`
|
|
|
|
## Description
|
|
|
|
Material definition assigned to a Part through `assign_material_rpart`.
|