upxo.material.identity module

identity.py

MaterialIdentity, moved out of Material.py unchanged in shape – the only addition is KNOWN_MATERIALS, a soft-validation whitelist consumed by MaterialRegistry when this category gets registered (see registry.py’s known_values mechanism).

class upxo.material.identity.MaterialIdentity(name: str = 'cu', alloy: str = 'value', comp: str = 'value')[source]

Bases: object

Identifies a specific material – name, alloy grade, composition.

name: str = 'cu'
alloy: str = 'value'
comp: str = 'value'