X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_SWIG%2Fsmesh.py;h=776ee83c71dbc37e2511509a2cc89e98114d8afb;hp=92fefeda222c7358cbdbda9b314b3d295f345850;hb=236b583d315b14278bda28e118748016d0e4f709;hpb=7ba3124c8a4ba32308bbc40957ee9246374aa590 diff --git a/src/SMESH_SWIG/smesh.py b/src/SMESH_SWIG/smesh.py index 92fefeda2..776ee83c7 100644 --- a/src/SMESH_SWIG/smesh.py +++ b/src/SMESH_SWIG/smesh.py @@ -281,6 +281,15 @@ class Mesh_Quadrangle(Mesh_Algorithm): """ self.Create(mesh, geom, "Quadrangle_2D") + def QuadranglePreference(self): + """ + Define "QuadranglePreference" hypothesis, forcing construction + of quadrangles if the number of nodes on opposite edges is not the same + in the case where the global number of nodes on edges is even + """ + hyp = self.Hypothesis("QuadranglePreference") + return hyp + # Public class: Mesh_Tetrahedron # ------------------------------