Correct small bug in material archetype assignation
This commit is contained in:
parent
abbc0d966d
commit
e43c366036
|
@ -105,7 +105,8 @@ class UsPhysicsParameters(NrelPhysicsInterface):
|
|||
layer.thickness = layer_archetype.thickness
|
||||
material = Material()
|
||||
archetype_material = layer_archetype.material
|
||||
material.name = layer_archetype.name
|
||||
material.name = archetype_material.name
|
||||
material.id = archetype_material.id
|
||||
material.no_mass = archetype_material.no_mass
|
||||
if archetype_material.no_mass:
|
||||
material.thermal_resistance = archetype_material.thermal_resistance
|
||||
|
|
Loading…
Reference in New Issue
Block a user