5 ###################################################################################
6 # BRepMesh cannot build a mesh on specific geometry
7 ###################################################################################
11 restore [locate_data_file bug25179_nurbs-with-partial-seam.brep] result
16 set trinfo_s [trinfo result]
17 regexp {([0-9]+) triangles} ${trinfo_s} str nbtri_s
18 regexp {([0-9]+) nodes} ${trinfo_s} str nbnod_s
19 regexp {deflection ([0-9.+e-]+)} ${trinfo_s} str defl_s
21 if { ${nbtri_s} == 0 } {
22 puts "Error: shape contains 0 triangles"
25 if { ${nbnod_s} == 0 } {
26 puts "Error: shape contains 0 nodes"
29 if { ${defl_s} == 0 } {
30 puts "Error: deflection is 0"
33 if [catch { tricheck result } ] {
34 puts "Error : Problem of build a mesh on specific geometry"
36 puts "OK : Building a mesh on specific geometry is good"