Notify on product conversion start as in 0.7

This commit is contained in:
Thomas Krijnen
2023-10-24 20:56:06 +02:00
committed by Richard Brice
parent a6f97b0b92
commit 90f9123f35
3 changed files with 8 additions and 6 deletions
+2
View File
@@ -469,6 +469,8 @@ namespace IfcGeom {
auto product_node = rep->products.front();
const IfcUtil::IfcBaseEntity* product = product_node.first;
const auto& place = product_node.second;
Logger::SetProduct(product);
IfcGeom::BRepElement* brep = static_cast<IfcGeom::BRepElement*>(decorate_with_cache_(GeometrySerializer::READ_BREP, (std::string)*product->get("GlobalId"), std::to_string(representation->instance->data().id()), [kernel, settings, product, place, representation]() {
return kernel->create_brep_for_representation_and_product(representation, product, place);