From 39b3e03fc5be51d1761313127dfc9e6474f0019a Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Fri, 11 Apr 2014 15:24:41 -0300 Subject: [PATCH] Added a clean() function to the python wrapper --- src/ifcwrap/Interface.h | 4 ++++ 1 file changed, 4 insertions(+) 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