6d368502 |
1 | puts "REQUIRED All: Faulty shapes in variables faulty_1 to faulty_" |
352ffd73 |
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 | |
352ffd73 |
13 | set err [checkshape result] |
6d368502 |
14 | |
352ffd73 |
15 | set j 1 |
16 | repeat 25 { |
17 | restore [locate_data_file OCC935_1.brep] result |
352ffd73 |
18 | set err1 [checkshape result] |
352ffd73 |
19 | if { $err != $err1 } { |
6d368502 |
20 | puts [format " Faulty OCC935 (case 1): function CHECKSHAPE works wrongly on %s time" $j] |
21 | break |
352ffd73 |
22 | } else { |
6d368502 |
23 | puts [format " OCC935 (case 1) OK: function CHECKSHAPE works properly %s time" $j] |
352ffd73 |
24 | } |
25 | incr j |
26 | } |
27 | |
5747059b |
28 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
352ffd73 |
29 | |
30 | |