1 # -*- coding: utf-8 -*-
\r
2 # Copyright (C) 2007-2013 EDF R&D
\r
4 # This library is free software; you can redistribute it and/or
\r
5 # modify it under the terms of the GNU Lesser General Public
\r
6 # License as published by the Free Software Foundation; either
\r
7 # version 2.1 of the License.
\r
9 # This library is distributed in the hope that it will be useful,
\r
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
\r
12 # Lesser General Public License for more details.
\r
14 # You should have received a copy of the GNU Lesser General Public
\r
15 # License along with this library; if not, write to the Free Software
\r
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
\r
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
\r
22 # Les variables pouvant positionnees sont :
\r
23 #print "import des prefs de MAP"
\r
25 # repIni sert a localiser le fichier
\r
26 # initialdir sert comme directory initial des QFileDialog
\r
27 # positionnee a repin au debut mise a jour dans configuration
\r
28 repIni=os.path.dirname(os.path.abspath(__file__))
\r
29 INSTALLDIR=os.path.join(repIni,'..')
\r
32 # Codage des strings qui accepte les accents (en remplacement de 'ascii')
\r
33 # lang indique la langue utilisee pour les chaines d'aide : fr ou ang
\r
35 encoding='iso-8859-1'
\r
37 # Acces a la documentation
\r
38 path_doc = os.path.join(repIni,'Doc')
\r
39 exec_acrobat = "/usr/bin/xpdf"
\r
40 savedir = os.environ['HOME']
\r
42 rep_cata=os.path.dirname(os.path.abspath(__file__))
\r
45 # ('MAP','Solver',os.path.join(rep_cata,'cata_solver1.py'),'solver1'),
\r
46 # ('MAP','Test',os.path.join(rep_cata,'cata_s_test03.py'),'s_test03'),
\r
47 # ('MAP','Exemple python',os.path.join(rep_cata,'cata_c_transverse_empty_python.py'),'c_transverse_empty_python'),
\r
48 # ('MAP','Image 3D',os.path.join(rep_cata,'cata_c_image_3d_altitude_thickness.py'),'c_image_3d_altitude_thickness'),
\r
49 # ('MAP','Table FFT',os.path.join(rep_cata,'cata_c_post_table_fft.py'), 'c_post_table_fft'),
\r
50 # ('MAP','PRE Mesh',os.path.join(rep_cata,'cata_c_pre_interface_mesh.py'), 'c_pre_interface_mesh'),
\r
51 # ('MAP','Analyse 3D',os.path.join(rep_cata,'cata_s_scc_3d_analysis.py'), 's_scc_3d_analysis'),
\r
52 ('MAP','Map',os.path.join(rep_cata,'mapcata.py'), 'essai'),
\r