mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Don't fail on tapered extrusion over non-derived profile def #5046
This commit is contained in:
@@ -42,6 +42,9 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcExtrudedAreaSolidTapered* in
|
||||
taxonomy::cast<taxonomy::face>(map(inst->EndSweptArea()))
|
||||
};
|
||||
|
||||
if (!loft->children.back()->matrix) {
|
||||
loft->children.back()->matrix = taxonomy::make<taxonomy::matrix4>();
|
||||
}
|
||||
auto old = loft->children.back()->matrix->ccomponents();
|
||||
loft->children.back()->matrix->components() = old * end_profile;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user