From: Gérald NICOLAS Date: Mon, 5 Jul 2021 07:39:50 +0000 (+0200) Subject: Désactivation du partitionnement pour l'hexa X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8931ac0b3a033628b4e3531d7c29be77af800973;p=modules%2Fshaper.git Désactivation du partitionnement pour l'hexa --- diff --git a/src/PythonAddons/macros/pipeNetwork/feature.py b/src/PythonAddons/macros/pipeNetwork/feature.py index 27123a99f..73b192378 100755 --- a/src/PythonAddons/macros/pipeNetwork/feature.py +++ b/src/PythonAddons/macros/pipeNetwork/feature.py @@ -20,9 +20,10 @@ """pipeNetwork Feature Author: Nathalie Gore +Remarque : la fonction de partitionnement pour un futur maillage en hexa est désactivée. """ -__revision__ = "V02.04" +__revision__ = "V02.05" from salome.shaper import model import ModelAPI @@ -57,10 +58,10 @@ class pipeNetwork(model.Feature): """Returns ID of the file select parameter.""" return "file_path" - @staticmethod - def HEXAS_ID(): - """Returns ID of the radius parameter.""" - return "blocking" + #@staticmethod + #def HEXAS_ID(): + #"""Returns ID of the radius parameter.""" + #return "blocking" def getKind(self): """Override Feature.getKind()""" @@ -73,7 +74,7 @@ class pipeNetwork(model.Feature): """Override Feature.initAttributes()""" # Creating the input argument of the feature self.data().addAttribute(self.FILE_ID(), ModelAPI.ModelAPI_AttributeString_typeId()) - self.data().addAttribute(self.HEXAS_ID(), ModelAPI.ModelAPI_AttributeBoolean_typeId()) + #self.data().addAttribute(self.HEXAS_ID(), ModelAPI.ModelAPI_AttributeBoolean_typeId()) # Retrieve parent pipe diff --git a/src/PythonAddons/macros/pipeNetwork/widget.xml b/src/PythonAddons/macros/pipeNetwork/widget.xml index bd96311bf..d19245231 100644 --- a/src/PythonAddons/macros/pipeNetwork/widget.xml +++ b/src/PythonAddons/macros/pipeNetwork/widget.xml @@ -7,11 +7,11 @@ tooltip="Create" icon="icons/Addons/pipeNetwork.png" helpfile="pipeNetworkFeature.html"> - + obligatory="0"/>-->