Salome HOME
a0816f497d31fff189bd38b0dee209283aedda8b
[modules/smesh.git] / src / Tools / MacMesh / MacMesh / Config.py
1 # Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
2
3 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5
6 # This library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public
8 # License as published by the Free Software Foundation; either
9 # version 2.1 of the License, or (at your option) any later version.
10
11 # This library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 # Lesser General Public License for more details.
15
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this library; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21
22
23
24 dz = 1
25 debug = 1
26
27 try : ListObj
28 except NameError : ListObj = []
29
30 try: Connections
31 except NameError: Connections = []
32
33 try : publish
34 except NameError : publish = 1
35
36 try : Groups
37 except NameError : Groups = []
38
39 try : StudyName
40 except NameError : StudyName = "Compound"
41
42 try : Criterion
43 except NameError : Criterion = 1
44
45 try : Count
46 except NameError : Count = 0
47
48 try : RefPts
49 except NameError : RefPts = []
50
51 try : DirIndex
52 except NameError : DirIndex = 0
53
54 try : theStudy
55 except NameError :
56     import salome
57     salome.salome_init()
58     theStudy = salome.myStudy
59
60