Validation work using Nef

This commit is contained in:
Thomas Krijnen
2019-12-14 13:25:30 +01:00
parent a5de17228a
commit 59b04c7857
3 changed files with 814 additions and 94 deletions
+8 -5
View File
@@ -700,12 +700,15 @@ void mapping::get_representations(std::vector<geometry_conversion_task>& tasks,
continue;
}
geometry_conversion_task task;
task.index = task_index++;
task.representation = representation;
task.products = ifcproducts->generalize();
// @todo, fix this properly by considering the mapped geometry types in the representation.
if (representation->hasRepresentationIdentifier() && representation->RepresentationIdentifier() == "Body") {
geometry_conversion_task task;
task.index = task_index++;
task.representation = representation;
task.products = ifcproducts->generalize();
tasks.emplace_back(task);
tasks.emplace_back(task);
}
}
}