1 puts "TODO OCC24938 ALL: Error: shape contains 0 triangles"
2 puts "TODO OCC24938 ALL: Error: shape contains 0 nodes"
8 ########################################
9 # BRepMesh_IncrementalMesh hangs
10 ########################################
12 # to prevent loops limit to 5 minutes
15 restore [locate_data_file bug24938_27773.brep] result
18 incmesh result 1.5 -relative
19 set trinfo_s [trinfo result]
20 regexp {([0-9]+) triangles} ${trinfo_s} str nbtri_s
21 regexp {([0-9]+) nodes} ${trinfo_s} str nbnod_s
23 if { ${nbtri_s} == 0 } {
24 puts "Error: shape contains 0 triangles"
26 puts "OK: shape contains ${nbtri_s} triangles"
29 if { ${nbnod_s} == 0 } {
30 puts "Error: shape contains 0 nodes"
32 puts "OK: shape contains ${nbnod_s} nodes"