1 puts "================"
3 puts "================"
5 #############################################################################
6 ##After applying sewing on the model from the file TibTray_Size3.igs (see the attachment) one surface is not shaded.
7 #############################################################################
9 igesbrep [locate_data_file TibTray_Size3.igs] a *
23 set info [trinfo result]
24 regexp { +([-0-9.+eE]+) +triangles} $info full tri
25 regexp { +([-0-9.+eE]+) +nodes} $info full nod
27 if { ($tri != 6409 || $nod != 6195) } {
28 puts "Shading problem may be, nb tri & nod"
31 checkmaxtol result -ref 0.92213088179312575
32 checknbshapes result -shell 1
33 checkfreebounds result 265
34 checkview -display result -3d -path ${imagedir}/${test_image}.png