From 185b4ef9fa8485b307de83c7bbbc6d153142d78c Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 11 Jun 2020 20:44:29 +0200 Subject: [PATCH] shell based surface model --- src/ifcgeom/schema/mapping.cpp | 4 ++++ src/ifcgeom/schema/mapping.i | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ifcgeom/schema/mapping.cpp b/src/ifcgeom/schema/mapping.cpp index ee7fb7adb1..715741d00c 100644 --- a/src/ifcgeom/schema/mapping.cpp +++ b/src/ifcgeom/schema/mapping.cpp @@ -224,6 +224,10 @@ taxonomy::item* mapping::map_impl(const IfcSchema::IfcFaceBasedSurfaceModel* ins return map_to_collection(this, inst->FbsmFaces()); } +taxonomy::item* mapping::map_impl(const IfcSchema::IfcShellBasedSurfaceModel* inst) { + return map_to_collection(this, inst->SbsmBoundary()); +} + taxonomy::item* mapping::map_impl(const IfcSchema::IfcManifoldSolidBrep* inst) { // @todo voids return map(inst->Outer()); diff --git a/src/ifcgeom/schema/mapping.i b/src/ifcgeom/schema/mapping.i index 6c81f9058a..9ebb31fb7f 100644 --- a/src/ifcgeom/schema/mapping.i +++ b/src/ifcgeom/schema/mapping.i @@ -26,7 +26,7 @@ BIND(IfcProduct); -// BIND(IfcShellBasedSurfaceModel); +BIND(IfcShellBasedSurfaceModel); BIND(IfcFaceBasedSurfaceModel); BIND(IfcRepresentation); BIND(IfcMappedItem);