0031047: Modeling Algorithms - BRepExtrema_DistShapeShape gives wrong result
[occt.git] / tests / bugs / modalg_6 / bug28675_2
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 bclearobjects
12 bcleartools
13 baddobjects b_1
14 baddtools b_2
15 bfillds
16 bbop result 2
17
18 checkshape result
19 if {[regexp "Faulties" [bopargcheck result]]} {
20   puts "Error: the result of Cut operation is invalid"
21 }
22
23 checkprops result -s 63598.7 -v 246258
24 checknbshapes result -edge 12 -face 6 -shell 1 -solid 1
25
26 checkview -display result -2d -path ${imagedir}/${test_image}.png