4ee1a39ae1fb7233fa07b78778bdb1292eb1cf68
[occt.git] / tests / bugs / moddata_2 / bug943_1
1
2 puts "========="
3 puts " OCC943 "
4 puts "(case 1)"
5 puts "========="
6 puts ""
7 #####################################################
8 ## The regression is intersecting pcurves of face, They are added by fixshape.
9 ## (To see this you can try fixshape dF.rle from attachment. But please note, that
10 ## checkshape on result of fixshape sometimes fails and sometimes not. It is
11 ## instability!)
12 ######################################################
13
14 restore [locate_data_file OCC943_1.brep] result
15
16 decho off
17 set err [checkshape result]
18 decho on
19
20 set j 1
21 repeat 25 {
22     restore [locate_data_file OCC943_1.brep] result
23     decho off
24     set err1 [checkshape result]
25     decho on
26     if { $err != $err1 } {
27         puts [format " Faulty OCC943 (case 1): function CHECKSHAPE works wrongly on %s time" $j]
28         break
29     } else {
30         puts [format " OCC943 (case 1)  OK: function CHECKSHAPE works properly %s time" $j]
31     }
32     incr j
33 }
34
35 set 2dviewer 0
36