5 ######################################################################
6 ## When I gave command "vdisplay a" , where a is shape restored from attached file.DRAW crashes
7 ## with segmentation fault. Exception is raised in the file BRepMesh/triangle.cxx.
8 ######################################################################
10 restore [locate_data_file BUC60858.brep] result
26 set info [trinfo result]
27 regexp { +([-0-9.+eE]+) +triangles} $info full tr
28 regexp { +([-0-9.+eE]+) +nodes} $info full nd
30 if { $tr == 0 || $nd == 0 } {
31 puts "Error : here is shading problem"