0024105: ShapeFix algorithm produces not correct result.
[occt.git] / tests / bugs / moddata_2 / bug935_1
1
2 puts "========="
3 puts " OCC935 "
4 puts "(case 1)"
5 puts "========="
6 puts ""
7 ###############################
8 ## instability in checkshape in KAS:dev version.
9 ###############################
10
11 restore [locate_data_file OCC935_1.brep] result
12
13 decho off
14 set err [checkshape result]
15 decho on
16 set j 1
17 repeat 25 {
18     restore [locate_data_file OCC935_1.brep] result
19     decho off
20     set err1 [checkshape result]
21     decho on
22     if { $err != $err1 } {
23         puts [format " Faulty OCC935 (case 1): function CHECKSHAPE works wrongly on %s time" $j]
24         break
25     } else {
26         puts [format " OCC935 (case 1)  OK: function CHECKSHAPE works properly %s time" $j]
27     }
28     incr j
29 }
30
31 set 2dviewer 0
32
33