32c408d7 |
1 | puts "========" |
2 | puts "0025082: bopcommon returns different result on Windows and Linux system" |
3 | puts "========" |
4 | puts "" |
5 | |
6 | puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed" |
7 | |
8 | restore [locate_data_file bug25054_shape1.brep] b1 |
9 | restore [locate_data_file bug25054_shape2.brep] b2 |
10 | |
11 | bclearobjects |
12 | bcleartools |
13 | baddobjects b1 |
14 | baddtools b2 |
15 | |
16 | bfillds |
17 | |
18 | for {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 | |
26 | checknbshapes r_0 -solid 1 -shell 1 -face 8 -wire 8 |
27 | checkprops r_0 -s 0.28083 -v 0.00131782 |
28 | |
29 | checknbshapes r_1 -solid 1 -shell 1 -face 20 -wire 20 |
30 | checkprops r_1 -s 0.28086 -v 0.00132012 |
31 | |
32 | checknbshapes r_2 -solid 1 -shell 1 -face 8 -wire 8 |
33 | checkprops r_2 -s 0.263808 -v 1.1489e-06 |
34 | |
35 | checknbshapes r_3 -solid 1 -shell 1 -face 8 -wire 8 |
36 | checkprops r_3 -s 0.263808 -v 1.1489e-06 |
37 | |
38 | checknbshapes r_4 -vertex 12 -edge 18 |
39 | checkprops r_4 -l 3.47027 |
40 | checksection r_4 -r 12 |
41 | |
42 | # COMMON |
43 | copy r_0 result |
44 | checkmaxtol result -min_tol 6.0e-7 |
45 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
46 | |