0024142: Wrong section curve
[occt.git] / tests / bugs / modalg_5 / bug24035
CommitLineData
404d419d 1puts "============"
2puts "OCC24035"
3puts "============"
4puts ""
5######################################################
6# Intersector is not symmetrical
7######################################################
8
9restore [locate_data_file bug24035_face1] face1
10restore [locate_data_file bug24035_face2] face2
11
12decho off
13set info1 [checkshape face1]
14set info2 [checkshape face2]
15decho on
16
17set status 0
18if { [regexp "Faulty shapes in variables faulty_1 to faulty_2" $info1] != 1 } {
b045e6a4 19 puts "Error : There is no 2 mistakes by checkshape on face1"
404d419d 20 set status 1
21}
22if { [regexp "Faulty shapes in variables faulty_1 to faulty_2" $info2] != 1 } {
b045e6a4 23 puts "Error : There is no 2 mistakes by checkshape on face2"
404d419d 24 set stauts 1
25}
26
27if { $status != 0 } {
28 puts "Error : Intersector is not symmetrical"
29} else {
30 puts "OK : Intersector is symmetrical"
31}