5 ###############################################
6 # BRepMesh_IncrementalMesh does not return
7 ###############################################
11 param xstep.cascade.unit M
12 stepread [locate_data_file bug25281_tess_infloop_extract.step] a *
14 set trinfo_s [trinfo a_1]
15 regexp {([0-9]+) triangles} ${trinfo_s} str nbtri_s
16 regexp {([0-9]+) nodes} ${trinfo_s} str nbnod_s
18 if { ${nbtri_s} == 0 } {
19 puts "Error: shape contains 0 triangles"
21 puts "OK: shape contains ${nbtri_s} triangles"
24 if { ${nbnod_s} == 0 } {
25 puts "Error: shape contains 0 nodes"
27 puts "OK: shape contains ${nbnod_s} nodes"