2 puts "================= OCC291 ==================="
4 #################################################################
5 ## Some triangles of shading mesh are outside of shape boundaries. (See attached shape).
6 #################################################################
8 restore [locate_data_file shading_171.brep] result
9 puts [checkshape result]
21 set tri_info [trinfo result]
22 regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
23 regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
25 #$tri == 395 && $nod == 350,aki251103.
26 if { $tri == 382 && $nod == 343 } {
27 puts " Warning: OCC291 looks like OK, but visual checking is required !"
29 puts " Shady OCC291 : nb tri & nod changed"