mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-29 10:50:35 +05:00
Mantis issue 0020878: EDF GEOM: A former script doesn't work anymore (regression).
This commit is contained in:
parent
1620879e04
commit
7c20a00c5f
@ -17,12 +17,11 @@
|
||||
#
|
||||
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
#
|
||||
|
||||
# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
|
||||
# File : geompy.py
|
||||
# Author : Paul RASCLE, EDF
|
||||
# Module : GEOM
|
||||
#
|
||||
|
||||
"""
|
||||
\namespace geompy
|
||||
\brief Module geompy
|
||||
@ -2118,10 +2117,13 @@ class geompyDC(GEOM._objref_GEOM_Gen):
|
||||
# @return New GEOM_Object, containing processed shape.
|
||||
#
|
||||
# @ref tui_shape_processing "Example"
|
||||
def ProcessShape(self,theShape, theOperators, theParameters, theValues):
|
||||
def ProcessShape(self, theShape, theOperators, theParameters, theValues):
|
||||
# Example: see GEOM_TestHealing.py
|
||||
theValues,Parameters = ParseList(theValues)
|
||||
anObj = self.HealOp.ProcessShape(theShape, theOperators, theParameters, theValues)
|
||||
# To avoid script failure in case of good argument shape
|
||||
if self.HealOp.GetErrorCode() == "ShHealOper_NotError_msg":
|
||||
return theShape
|
||||
RaiseIfFailed("ProcessShape", self.HealOp)
|
||||
for string in (theOperators + theParameters):
|
||||
Parameters = ":" + Parameters
|
||||
|
Loading…
Reference in New Issue
Block a user