diff --git a/libsrc/occ/occgeom.cpp b/libsrc/occ/occgeom.cpp index 73e28684..537da6ef 100644 --- a/libsrc/occ/occgeom.cpp +++ b/libsrc/occ/occgeom.cpp @@ -62,6 +62,7 @@ namespace netgen step_utils::WriteSTEP(_shape, filename); LoadOCCInto(this, filename); occdim = aoccdim; + std::remove(filename); } string STEP_GetEntityName(const TopoDS_Shape & theShape, STEPCAFControl_Reader * aReader)