X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Ffilters_ex01.py;fp=doc%2Fsalome%2Fexamples%2Ffilters_ex01.py;h=9ee7ce8521df9a58c1bc95032ece239dac750433;hb=04f997252152407f9180e03f0af428ab2ca6f4be;hp=812e9428878883a49f86ffef2189c7bc7c2d6cc5;hpb=ecc6a84a63742db195c9a43811c69ceaa013fada;p=modules%2Fsmesh.git diff --git a/doc/salome/examples/filters_ex01.py b/doc/salome/examples/filters_ex01.py index 812e94288..9ee7ce852 100644 --- a/doc/salome/examples/filters_ex01.py +++ b/doc/salome/examples/filters_ex01.py @@ -15,7 +15,7 @@ ids = filter.GetIDs() print "Number of faces with aspect ratio > 1.5:", len(ids) # copy the faces with aspect ratio > 1.5 to another mesh; -# this demostrates that a filter can be used where usually a group or sub-mesh is acceptable +# this demonstrates that a filter can be used where usually a group or sub-mesh is acceptable filter.SetMesh( mesh.GetMesh() ) # - actually non necessary as mesh is set at filter creation mesh2 = smesh.CopyMesh( filter, "AR > 1.5" ) print "Number of copied faces with aspect ratio > 1.5:", mesh2.NbFaces()