Salome HOME
23596: EDF - no attribute 'SetAngleMeshS'
authoreap <eap@opencascade.com>
Tue, 9 Oct 2018 09:30:22 +0000 (12:30 +0300)
committereap <eap@opencascade.com>
Tue, 9 Oct 2018 09:30:22 +0000 (12:30 +0300)
  Remove obsolete python methods, to exclude them from the documentation

src/BLSURFPlugin/BLSURFPluginBuilder.py

index 19b197b59cd5f4b9695b53792967fb41315b570f..4bc72aa658cae093185b81b581b4078b667cca18 100644 (file)
@@ -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