X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2FblocFissure%2Fgmu%2FfacesToreInBloc.py;h=456ce5762d6824b7886f85d2facec54c69535ca8;hp=b48eb8e7f2adbafa9a3fa2c87124aeac36059f02;hb=2cf6435f1492b63b9adf4e8256d88968638ed9bf;hpb=bd7477efc255f965c479d88d1be1ee3dbf4aa760 diff --git a/src/Tools/blocFissure/gmu/facesToreInBloc.py b/src/Tools/blocFissure/gmu/facesToreInBloc.py index b48eb8e7f..456ce5762 100644 --- a/src/Tools/blocFissure/gmu/facesToreInBloc.py +++ b/src/Tools/blocFissure/gmu/facesToreInBloc.py @@ -1,17 +1,34 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2014-2021 EDF R&D +# +# 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 +# +"""Identification des faces tore et fissure dans le solide hors tore du bloc partitionné""" import logging -from .geomsmesh import geompy -from .geomsmesh import geomPublish -from .geomsmesh import geomPublishInFather + from . import initLog -# ----------------------------------------------------------------------------- -# --- identification des faces tore et fissure dans le solide hors tore du bloc partitionné +from .geomsmesh import geompy +from .geomsmesh import geomPublishInFather def facesToreInBloc(blocp, facefissoutore, facetore1, facetore2): - """ - identification des faces tore et fissure dans le bloc partitionné : sous shapes du bloc + """Identification des faces tore et fissure dans le bloc partitionné : sous shapes du bloc + @param blocp : bloc partitionné @param facefissoutore : la face de fissure externe au tore @param facetore1 : face du tore selon la génératrice @@ -29,4 +46,3 @@ def facesToreInBloc(blocp, facefissoutore, facetore1, facetore2): geomPublishInFather(initLog.debug, blocp, blocFaceTore2,'blocFaceTore2') return blocFaceFiss, blocFaceTore1, blocFaceTore2 -