mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 02:49:12 +00:00
Handle infra sweeps of open loops #7338
This commit is contained in:
@@ -24,5 +24,11 @@
|
||||
using namespace ifcopenshell::geometry;
|
||||
|
||||
taxonomy::ptr mapping::map_impl(const IfcSchema::IfcArbitraryOpenProfileDef* inst) {
|
||||
return map(inst->Curve());
|
||||
auto mapped = map(inst->Curve());
|
||||
if (mapped->kind() == taxonomy::LOOP) {
|
||||
auto r = taxonomy::loop::ptr((taxonomy::loop*)mapped->clone_());
|
||||
r->closed = false;
|
||||
return r;
|
||||
}
|
||||
return mapped;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user