0025813: regression in Hidden Line Removal
[occt.git] / tests / bugs / modalg_6 / bug26316
CommitLineData
e9e644ed 1puts "============"
2puts "OCC26316"
3puts "============"
4puts ""
5###############################
6## Infinite modification of the shapes in General Fuse operation
7###############################
8
9restore [locate_data_file bug26316_shape1.brep] b1
10restore [locate_data_file bug26316_shape2.brep] b2
11
12bclearobjects
13bcleartools
14baddobjects b1
15baddtools b2
16bfillds
17bbuild r
18
19explode r so
20
21bclearobjects
22bcleartools
23baddobjects r_1
24baddtools r_2
25bfillds
26bbuild r1
27
28explode r1 so
29
30set info1 [compare r_1 r1_1]
31
32set info2 [compare r_2 r1_2]
33
34if { [regexp "same shapes" $info1] == 1 } {
35 puts "OK: r_1 and r1_1 shapes are equal"
36} else {
37 puts "Error : r_1 and r1_1 shapes are not equal"
38}
39
40if { [regexp "same shapes" $info2] == 1 } {
41 puts "OK: r_2 and r1_2 shapes are equal"
42} else {
43 puts "Error : r_2 and r1_2 shapes are not equal"
44}
45
46smallview
47fit
48xwd ${imagedir}/${test_image}.png