0031407: [Regression to 7.3.0] Extrema does not process parallel circles correctly
[occt.git] / tests / bugs / modalg_7 / bug29843_1
CommitLineData
c08fd127 1puts "========"
2puts "0029843: Modeling Algorithms - Boolean FUSE produces incorrect result"
3puts "========"
4puts ""
5
6restore [locate_data_file bug29843.brep] s
7
8explode s
9bclearobjects
10bcleartools
11baddobjects s_1
12baddtools s_2
13bfillds
14
15bbop r_0 0
16bbop r_1 1
17bbop r_2 2
18bbop r_3 3
19bbop r_4 4
20bbuild r_5
21
22foreach i { 0 1 2 3 4 5} {
23 checkshape r_$i
24 if {![regexp "OK" [bopcheck r_$i]]} {
25 puts "Error: r_$i is self-intersecting shape"
26 }
27}
28
29checkprops r_0 -s 9.84429 -v 0.639311
30checknbshapes r_0 -wire 7 -face 5 -shell 1 -solid 1 -t
31
32checkprops r_1 -s 2121.39 -v 612.41
33checknbshapes r_1 -wire 38 -face 32 -shell 2 -solid 1 -t
34
35checkprops r_2 -s 2113.85 -v 611.569
36checknbshapes r_2 -wire 32 -face 26 -shell 2 -solid 1 -t
37
38checkprops r_3 -s 15.9893 -v 0.215264
39checknbshapes r_3 -wire 11 -face 9 -shell 2 -solid 2 -t
40
41checkprops r_4 -l 24.9725
42checksection r_4 -r 2
43
44checkprops r_5 -s 2139.68 -v 612.402
45checknbshapes r_5 -wire 44 -face 36 -shell 5 -solid 4 -t
46
47checkview -display r_0 -2d -path ${imagedir}/${test_image}.png
48