Salome HOME
Enable splitting bi-quad quadrangles by QuadToTri()
[modules/smesh.git] / src / Tools / Verima / createDatabase.py
1 #!/usr/bin/env python
2
3 import sys
4 from PyQt4 import QtGui,QtCore
5 from Base.dataBase import Base
6
7 def creeDatabase(fichier):
8       maBase=Base(fichier)
9       maBase.create()
10       maBase.initialise()
11       maBase.remplit()
12       maBase.close()
13
14
15
16 if __name__ == "__main__":
17      from optparse import OptionParser
18      p=OptionParser()
19      p.add_option('-d',dest='database',default="myMesh.db",help='nom de la database')
20      options, args = p.parse_args()
21      creeDatabase(options.database )
22