mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-30 12:09:51 +00:00
Fix incomplete swept surface mapping #5484
This commit is contained in:
@@ -22,7 +22,6 @@
|
|||||||
using namespace ifcopenshell::geometry;
|
using namespace ifcopenshell::geometry;
|
||||||
|
|
||||||
taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSurfaceOfLinearExtrusion* inst) {
|
taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSurfaceOfLinearExtrusion* inst) {
|
||||||
return nullptr;
|
|
||||||
taxonomy::matrix4::ptr matrix;
|
taxonomy::matrix4::ptr matrix;
|
||||||
bool has_position = true;
|
bool has_position = true;
|
||||||
#ifdef SCHEMA_IfcSweptAreaSolid_Position_IS_OPTIONAL
|
#ifdef SCHEMA_IfcSweptAreaSolid_Position_IS_OPTIONAL
|
||||||
@@ -34,7 +33,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSurfaceOfLinearExtrusion* in
|
|||||||
|
|
||||||
return taxonomy::make<taxonomy::extrusion>(
|
return taxonomy::make<taxonomy::extrusion>(
|
||||||
matrix,
|
matrix,
|
||||||
taxonomy::cast<taxonomy::loop>(map(inst->SweptCurve())),
|
map(inst->SweptCurve()),
|
||||||
taxonomy::cast<taxonomy::direction3>(map(inst->ExtrudedDirection())),
|
taxonomy::cast<taxonomy::direction3>(map(inst->ExtrudedDirection())),
|
||||||
std::numeric_limits<double>::infinity()
|
std::numeric_limits<double>::infinity()
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user