0024105: ShapeFix algorithm produces not correct result.
[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 } {
19 puts "Error : There is no 2 mistakes by checkshape on face1
20 set status 1
21}
22if { [regexp "Faulty shapes in variables faulty_1 to faulty_2" $info2] != 1 } {
23 puts "Error : There is no 2 mistakes by checkshape on face2
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}