mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 10:57:49 +00:00
Fix generation of IfcOpenHouse.ifc which doesn't have its ground representation. See #200
This commit is contained in:
committed by
Thomas Krijnen
parent
f71ee35f57
commit
0f993b32f4
@@ -269,6 +269,7 @@ int main() {
|
||||
for (IfcSchema::IfcRepresentation::list::it it = ground_reps->begin(); it != ground_reps->end(); ++it) {
|
||||
(*it)->setContextOfItems(file.getRepresentationContext("Model"));
|
||||
}
|
||||
file.addEntity(ground_representation);
|
||||
file.setSurfaceColour(ground_representation, 0.15, 0.25, 0.05);
|
||||
|
||||
// According to the Ifc2x3 schema an IfcWallStandardCase needs to have an IfcMaterialLayerSet
|
||||
|
||||
Reference in New Issue
Block a user