Salome HOME
debug
[modules/smesh.git] / src / Tools / blocFissure / AREintradosLauncher.py
1 # -*- coding: utf-8 -*-
2
3 """ FissureLauncher:
4     Permet de lancer le script 'casStandard'
5     en fonction des param├Ętres contenus dans 'dicoParams'. """
6
7 #import sys
8 import salome
9
10 #import os
11 #from blocFissure import gmu
12 from blocFissure.gmu import initLog
13 initLog.setDebug()
14 #initLog.setVerbose()
15
16 from blocFissure.casStandard import casStandard
17
18 mesh = 'ARE_sain_lin_rotated.med'
19 crack = 'fissureIntrados.brep'
20
21 dicoParams = dict(nomCas            = 'fissTuyau',
22                   maillageSain      = '/local00/home/I48174/Documents/soudure/essaiFissure/{0}'.format(mesh),
23                   brepFaceFissure   = '/local00/home/I48174/Documents/soudure/essaiFissure/{0}'.format(crack),
24                   edgeFissIds       = [4],
25                   lgInfluence       = 14,
26                   meshBrep          = (0.05, 2.0),
27                   rayonPipe         = 1.0,
28                   lenSegPipe        = 1, #9,
29                   nbSegRad          = 5,
30                   nbSegCercle       = 16,
31                   areteFaceFissure  = 1.0)
32
33 execInstance = casStandard(dicoParams)
34
35 if salome.sg.hasDesktop():
36     salome.sg.updateObjBrowser(1)