diff --git a/src/ifcwrap/Interface.h b/src/ifcwrap/Interface.h index c7fa221b82..6860edd7f2 100644 --- a/src/ifcwrap/Interface.h +++ b/src/ifcwrap/Interface.h @@ -96,6 +96,10 @@ namespace IfcParse { IfcSchema::IfcProduct* ifc_product = (IfcSchema::IfcProduct*) e; return IfcGeom::create_brep_data(ifc_product); } + + void clean() { + IfcGeom::Cache::Purge(); + } } std::ostream& operator<< (std::ostream& os, const IfcParse::IfcFile& f); \ No newline at end of file