From 8931ac0b3a033628b4e3531d7c29be77af800973 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9rald=20NICOLAS?= Date: Mon, 5 Jul 2021 09:39:50 +0200 Subject: [PATCH] =?utf8?q?D=C3=A9sactivation=20du=20partitionnement=20pour?= =?utf8?q?=20l'hexa?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/PythonAddons/macros/pipeNetwork/feature.py | 13 +++++++------ src/PythonAddons/macros/pipeNetwork/widget.xml | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) 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"/>--> -- 2.39.2