From: gdd Date: Fri, 13 May 2011 13:01:16 +0000 (+0000) Subject: rnc: Added UnsetAttractorGeom method in smeshDC.py X-Git-Tag: V6_3_0b2~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5ce2cca1f90c8e09ddde435141370dc5f4b1afaf;p=modules%2Fsmesh.git rnc: Added UnsetAttractorGeom method in smeshDC.py --- diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 9cfdfd06e..218ce1b96 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -5062,7 +5062,15 @@ class Mesh_Triangle(Mesh_Algorithm): self.AssureGeomPublished( theFace ) self.AssureGeomPublished( theAttractor ) # Parameter of BLSURF algo - self.Parameters().SetAttractorGeom(otheFace, theAttractor, theStartSize, theEndSize, theInfluenceDistance, theConstantSizeDistance) + self.Parameters().SetAttractorGeom(theFace, theAttractor, theStartSize, theEndSize, theInfluenceDistance, theConstantSizeDistance) + + ## Unsets an attractor on the chosen face. + # @param theFace : face on which the attractor has to be removed + # @ingroup l3_hypos_blsurf + def UnsetAttractorGeom(self, theFace): + self.AssureGeomPublished( theFace ) + # Parameter of BLSURF algo + self.Parameters().SetAttractorGeom(theFace) ## Sets QuadAllowed flag. # Only for algoType == NETGEN(NETGEN_1D2D) || NETGEN_2D || BLSURF