mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 20:00:02 +00:00
@@ -300,7 +300,7 @@ class ObjectMaterialData:
|
|||||||
else:
|
else:
|
||||||
data["material"] = item.Material.Name or "Unnamed"
|
data["material"] = item.Material.Name or "Unnamed"
|
||||||
results.append(data)
|
results.append(data)
|
||||||
should_reverse = cls.material.DirectionSense == "POSITIVE"
|
should_reverse = cls.material.is_a("IfcMaterialLayerSetUsage") and cls.material.DirectionSense == "POSITIVE"
|
||||||
last_i = len(results) - 1
|
last_i = len(results) - 1
|
||||||
for i, result in enumerate(results):
|
for i, result in enumerate(results):
|
||||||
result["index"] = i
|
result["index"] = i
|
||||||
|
|||||||
Reference in New Issue
Block a user