From 32c3e5cefc9be1befa58266e667f16da2950586e Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 9 Oct 2018 12:30:22 +0300 Subject: [PATCH] 23596: EDF - no attribute 'SetAngleMeshS' Remove obsolete python methods, to exclude them from the documentation --- src/BLSURFPlugin/BLSURFPluginBuilder.py | 62 ------------------------- 1 file changed, 62 deletions(-) diff --git a/src/BLSURFPlugin/BLSURFPluginBuilder.py b/src/BLSURFPlugin/BLSURFPluginBuilder.py index 19b197b..4bc72aa 100644 --- a/src/BLSURFPlugin/BLSURFPluginBuilder.py +++ b/src/BLSURFPlugin/BLSURFPluginBuilder.py @@ -754,66 +754,4 @@ class BLSURF_Algorithm(Mesh_Algorithm): self.Parameters().SetHyperPatches( hpl ) return - #===================== - # Obsolete methods - #===================== - # - # SALOME 6.6.0 - # - - ## Sets lower boundary of mesh element size (PhySize). - def SetPhyMin(self, theVal=-1): - """ - Obsolete function. Use SetMinSize. - """ - print("Warning: SetPhyMin is obsolete. Please use SetMinSize") - self.SetMinSize(theVal) - pass - - ## Sets upper boundary of mesh element size (PhySize). - def SetPhyMax(self, theVal=-1): - """ - Obsolete function. Use SetMaxSize. - """ - print("Warning: SetPhyMax is obsolete. Please use SetMaxSize") - self.SetMaxSize(theVal) - pass - - ## Sets angular deflection (in degrees) of a mesh face from CAD surface. - def SetAngleMeshS(self, theVal=_geometric_approximation): - """ - Obsolete function. Use SetAngleMesh. - """ - print("Warning: SetAngleMeshS is obsolete. Please use SetAngleMesh") - self.SetAngleMesh(theVal) - pass - - ## Sets angular deflection (in degrees) of a mesh edge from CAD curve. - def SetAngleMeshC(self, theVal=_geometric_approximation): - """ - Obsolete function. Use SetAngleMesh. - """ - print("Warning: SetAngleMeshC is obsolete. Please use SetAngleMesh") - self.SetAngleMesh(theVal) - pass - - ## Sets lower boundary of mesh element size computed to respect angular deflection. - def SetGeoMin(self, theVal=-1): - """ - Obsolete function. Use SetMinSize. - """ - print("Warning: SetGeoMin is obsolete. Please use SetMinSize") - self.SetMinSize(theVal) - pass - - ## Sets upper boundary of mesh element size computed to respect angular deflection. - def SetGeoMax(self, theVal=-1): - """ - Obsolete function. Use SetMaxSize. - """ - print("Warning: SetGeoMax is obsolete. Please use SetMaxSize") - self.SetMaxSize(theVal) - pass - - pass # end of BLSURF_Algorithm class -- 2.39.2