Fix placements

This commit is contained in:
Thomas Krijnen
2019-09-01 13:36:46 +02:00
parent 2e7c43f590
commit 816c0d3618
5 changed files with 21 additions and 8 deletions
@@ -42,6 +42,9 @@ ifcopenshell::geometry::NativeElement* ifcopenshell::geometry::Converter::create
// @todo decide how to get placement from product
auto placement = (taxonomy::geom_item*) mapping_->map(product);
if (placement == nullptr) {
return nullptr;
}
kernel_->convert(rep_item, shapes);
shape = new ifcopenshell::geometry::Representation::BRep(s, representation_id_builder.str(), shapes);