X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Ffilters_ex01.py;h=f323ecb768c0b8a9569c23eec250e77c95944c26;hp=02f3588c8dd795fa70c50864c2ce7b153e2f1594;hb=refs%2Ftags%2FV9_0_0;hpb=10191484fe88a27e962b8e4b57e09d390d8705c7 diff --git a/doc/salome/examples/filters_ex01.py b/doc/salome/examples/filters_ex01.py index 02f3588c8..f323ecb76 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())