X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=doc%2Fexamples%2Ffilters_ex15.py;fp=doc%2Fexamples%2Ffilters_ex15.py;h=ff022e690da998920286aa7d268d52df8fa0fb84;hp=0000000000000000000000000000000000000000;hb=4cf07a14111e98e8889620ee7e6371574c31a50c;hpb=d9f4b53e489dd5857db264ede6acded7b076c9f1 diff --git a/doc/examples/filters_ex15.py b/doc/examples/filters_ex15.py new file mode 100644 index 000000000..ff022e690 --- /dev/null +++ b/doc/examples/filters_ex15.py @@ -0,0 +1,9 @@ +# Over-constrained faces + +# create mesh +from mechanic import * + +# get all over-constrained faces +filter = smesh_builder.GetFilter(SMESH.FACE, SMESH.FT_OverConstrainedFace) +ids = mesh.GetIdsFromFilter(filter) +print("Over-constrained faces:", ids)