X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2FblocFissure%2FAREextradosLauncher.py;h=bbe33592e1aa66e5e38cdabe81cfb4273b0f1270;hp=40e34cea8f918ad5a3b27d8476f7543777d3068e;hb=HEAD;hpb=a1920ff31054e2c882bd94d4f3c04abe53980ce0 diff --git a/src/Tools/blocFissure/AREextradosLauncher.py b/src/Tools/blocFissure/AREextradosLauncher.py index 40e34cea8..cd97e0ba5 100644 --- a/src/Tools/blocFissure/AREextradosLauncher.py +++ b/src/Tools/blocFissure/AREextradosLauncher.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2014-2024 EDF +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# """ FissureLauncher: Permet de lancer le script 'casStandard' @@ -20,8 +38,8 @@ crack = 'fissureExtrados.brep' dicoParams = dict(nomCas = 'fissTuyau', maillageSain = '/local00/home/I48174/Documents/soudure/essaiFissure/{0}'.format(mesh), - brepFaceFissure = '/local00/home/I48174/Documents/soudure/essaiFissure/{0}'.format(crack), - edgeFissIds = [4], + CAOFaceFissure = '/local00/home/I48174/Documents/soudure/essaiFissure/{0}'.format(crack), + edgeFiss = [4], lgInfluence = 12, meshBrep = (0.05, 2.0), rayonPipe = 1.0, @@ -33,4 +51,4 @@ dicoParams = dict(nomCas = 'fissTuyau', execInstance = casStandard(dicoParams) if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(True) + salome.sg.updateObjBrowser()