X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=inline;f=tests%2Ftest_precad_intersections.py;h=47eef3df6b88b55a976134b9d180e26afb331178;hb=1958779443b1a2d3e5bc26087c19d7e989d61eb2;hp=f492dba1e3bb0a29a13d5517f2451b9cfb78531e;hpb=c4894919d60dceb97af3cb0d577a70824c968f6e;p=plugins%2Fblsurfplugin.git diff --git a/tests/test_precad_intersections.py b/tests/test_precad_intersections.py index f492dba..47eef3d 100644 --- a/tests/test_precad_intersections.py +++ b/tests/test_precad_intersections.py @@ -49,6 +49,7 @@ BLSURF_Parameters = BLSURF_1.Parameters() BLSURF_Parameters.SetPhySize( 5 ) BLSURF_Parameters.SetPreCADMergeEdges( True ) BLSURF_Parameters.SetPreCADProcess3DTopology( True ) +BLSURF_Parameters.SetPreCADOptionValue( 'remove_tiny_uv_edges', 'yes' ) Mesh_1.Compute() @@ -61,9 +62,9 @@ for p in vertices: nodes = list(set(nodes)) -Mesh_1.MakeGroupByIds("nodes", SMESH.NODE, nodes) +nodesGroup = Mesh_1.MakeGroupByIds("nodes", SMESH.NODE, nodes) -assert(len(nodes) == 1) +assert nodesGroup.Size() == 1, nodesGroup.GetIDs() if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True)