mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 16:43:00 +00:00
Validation work using Nef
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user