1 puts "================"
3 puts "================"
6 ########################################################
7 ## Exception is raised in the application during visualization. (#2054)
8 ########################################################
10 restore [locate_data_file OCC316.brep] result
13 set che [checkshape result]
16 if { [regexp "Faulty" $che] == 1 } {
17 puts "Warning OCC316: Source shape is NOT correct. It was detected by Checkshape command"
27 set info [trinfo result]
28 regexp { +([-0-9.+eE]+) +triangles} $info full tri
29 regexp { +([-0-9.+eE]+) +nodes} $info full nod
31 if { $tri == 212909 && $nod == 158362 } {
32 puts "Warning OCC316: here is shading problem (some faces are lost)"
34 if { $tri == 0 || $nod == 0 } {
35 puts " Warning OCC316: here is shading problem (shading mesh is NOT created)"
38 puts "Warning: Shading of OCC316 looks OK, but visual checking is required"