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