9369e98a |
1 | puts "===============================================" |
2 | puts "OCC30590: Wrong result of Boolean Cut algorithm" |
3 | puts "===============================================" |
4 | puts "" |
5 | |
6 | binrestore [locate_data_file bug30590_cut_argument1.bin] a |
7 | binrestore [locate_data_file bug30590_cut_tool1.bin] b |
8 | |
9 | bcut result a b |
10 | |
11 | checkshape result |
12 | |
13 | checknbshapes result -solid 1 -shell 1 -face 15 -wire 15 -edge 39 -vertex 26 |
14 | |
15 | set tolres [checkmaxtol result] |
16 | |
17 | if { ${tolres} > 0.005} { |
18 | puts "Error: bad tolerance of result" |
19 | } |
20 | |
21 | checkprops result -v 5639.93 -deps 1.e-7 |