1 puts "================"
3 puts "================"
5 ###############################################
6 ## False detecting of intersection in BRepMesh_Classifier class.
7 ###############################################
9 restore [locate_data_file bug24775_face.brep] face
14 set trinfo_s [trinfo face]
15 regexp {([0-9]+) triangles} ${trinfo_s} str nbtri_s
16 regexp {([0-9]+) nodes} ${trinfo_s} str nbnod_s
17 regexp {deflection ([0-9.+e-]+)} ${trinfo_s} str defl_s
19 if { ${nbtri_s} == 0 } {
20 puts "Error: shape contains 0 triangles"
22 puts "OK: shape contains triangles"
25 if { ${nbnod_s} == 0 } {
26 puts "Error: shape contains 0 nodes"
28 puts "OK: shape contains nodes"
31 if { ${defl_s} == 0 } {
32 puts "Error: deflection is 0"
34 puts "OK: deflection is good"