0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug25994
CommitLineData
dfdfa61f 1puts "========"
2puts "OCC25994"
3puts "========"
4puts ""
5#########################################
6# Boolean fuse result in invalid result
7#########################################
8
9restore [locate_data_file bug25994_body.brep] body
10restore [locate_data_file bug25994_wing.brep] wing
11
7797eb38 12bclearobjects
13bcleartools
14baddobjects body
15baddtools wing
16bfillds
17bbop rs 4
18
19regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full nbv
20if { $nbv != 0 } { puts "Error : Section is not closed" }
21
22regexp {Tolerance MAX=([-0-9.+eE]+)} [tolerance rs] full toler
23if { $toler > 5.0e-5 } {
24 puts "Error: Tolerance after section is too large"
25}
26
27bbop result 1
dfdfa61f 28
29checkshape result
7797eb38 30checknbshapes result -solid 1 -shell 1 -face 13 -wire 15
31
32checkprops result -s 1.76161e+006 -v 1.07392e+008
dfdfa61f 33
34smallview
35fit
7797eb38 36checkview -display result -2d -path ${imagedir}/${test_image}.png