752f9d72 |
1 | puts "========" |
2 | puts "OCC28675" |
3 | puts "========" |
4 | puts "" |
5 | #################################################################### |
6 | # Invalid result of Boolean Cut operation when running with fuzzy value |
7 | #################################################################### |
8 | |
9 | restore [locate_data_file bug28675_shapes.brep] b |
10 | explode b |
11 | bfuzzyvalue 1.e-5 |
12 | bclearobjects |
13 | bcleartools |
14 | baddobjects b_1 |
15 | baddtools b_2 |
16 | bfillds |
17 | bbop result 2 |
18 | |
19 | checkshape result |
20 | if {[regexp "Faulties" [bopargcheck result]]} { |
21 | puts "Error: the result of Cut operation is invalid" |
22 | } |
23 | |
24 | checkprops result -s 63598.7 -v 246258 |
25 | checknbshapes result -edge 12 -face 6 -shell 1 -solid 1 |
26 | |
27 | checkview -display result -2d -path ${imagedir}/${test_image}.png |