0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug25082_2
CommitLineData
32c408d7 1puts "========"
2puts "0025082: bopcommon returns different result on Windows and Linux system"
3puts "========"
4puts ""
5
6puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
7
8restore [locate_data_file bug25054_shape1.brep] b1
9restore [locate_data_file bug25054_shape2.brep] b2
10
11bclearobjects
12bcleartools
13baddobjects b2
14baddtools b1
15
16bfillds
17
18for {set i 0} { $i <= 4 } { incr i} {
19 bbop r_$i $i
20 checkshape r_$i
21 if {[regexp "Faulties" [bopargcheck r_$i]]} {
22 puts "Error: bopargcheck has found some faulties in r_$i"
23 }
24}
25
26checknbshapes r_0 -solid 1 -shell 1 -face 8 -wire 8
27checkprops r_0 -s 0.28083 -v 0.00131782
28
29checknbshapes r_1 -solid 1 -shell 1 -face 20 -wire 20
30checkprops r_1 -s 0.28086 -v 0.00132012
31
32checknbshapes r_2 -solid 1 -shell 1 -face 8 -wire 8
33checkprops r_2 -s 0.263808 -v 1.1489e-06
34
35checknbshapes r_3 -solid 1 -shell 1 -face 8 -wire 8
36checkprops r_3 -s 0.263808 -v 1.1489e-06
37
38checknbshapes r_4 -vertex 12 -edge 18
39checkprops r_4 -l 3.47027
40checksection r_4 -r 12
41
42# COMMON
43copy r_0 result
44checkmaxtol result -min_tol 6.0e-7
45checkview -display result -2d -path ${imagedir}/${test_image}.png