*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 0d74ba60 authored by Carl-Martin Pfeiler's avatar Carl-Martin Pfeiler
Browse files

geo.Save() extension always .vol forced

parent c5326441
No related branches found
No related tags found
No related merge requests found
......@@ -236,7 +236,11 @@ class Geometry:
def Save(self, filename):
if not(self._mesh == None):
self._mesh.ngmesh.Save( filename )
ext = ".vol"
if(filename[-4:] == ext):
ext = ""
self._mesh.ngmesh.Save( filename + ext )
# TOECDO
# if ( self.boundingBox.IsBoundingBox() ):
# tmp = filename.rfind("/")+1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment