mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +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()))
|
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();
|
auto old = loft->children.back()->matrix->ccomponents();
|
||||||
loft->children.back()->matrix->components() = old * end_profile;
|
loft->children.back()->matrix->components() = old * end_profile;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user