0023457: Slow text rendering
[occt.git] / tests / bugs / modalg / bug323
CommitLineData
0e94a94e 1
2puts "================"
3puts "OCC323"
4puts "OCC229"
5puts "================"
6puts ""
7
8restore [locate_data_file OCC323.brep] f
9explode f
10
11decho off
12set che [checkshape f_1]
13decho on
14
15if { [regexp {Faulty} $che ] == 1 } {
16 puts "Warning OCC323 (shape1): Source shape is NOT correct. It was detected by Checkshape command"
17} else {
18 puts "OCC323 OK (shape1): Source shape is valid"
19}
20
21decho off
22set che [checkshape f_2]
23decho on
24
25if { [regexp {Faulty} $che ] == 1 } {
26 puts "Warning OCC323 (shape2): Source shape is NOT correct. It was detected by Checkshape command"
27} else {
28 puts "OCC323 OK (shape2): Source shape is valid"
29}
30
31bsection r f_1 f_2
352ffd73 32checkshape r
0e94a94e 33puts [checksection r]
34
35decho off
36set che [checkshape f_3]
37decho on
38
39if { [regexp {Faulty} $che ] == 1 } {
40 puts "Warning OCC323 (shape3): Source shape is invalid. It was detected by Checkshape command"
41} else {
42 puts "OCC323 OK (shape3): Source shape is valid"
43}
44
45bsection result f_1 f_3
46
47set length 1
48set 2dviewer 0
49
50
51