From 5ce2cca1f90c8e09ddde435141370dc5f4b1afaf Mon Sep 17 00:00:00 2001 From: gdd Date: Fri, 13 May 2011 13:01:16 +0000 Subject: [PATCH] rnc: Added UnsetAttractorGeom method in smeshDC.py --- src/SMESH_SWIG/smeshDC.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- 2.39.2