0031047: Modeling Algorithms - BRepExtrema_DistShapeShape gives wrong result
[occt.git] / tests / bugs / modalg_6 / bug28002_1
1 puts "========"
2 puts "OCC28002"
3 puts "========"
4 puts ""
5 #################################################
6 # Invalid result of Boolean Fuse operation
7 #################################################
8
9 binrestore [locate_data_file bug28002_shapes.bin] b
10
11 explode b
12
13 # perform intersection
14 bclearobjects
15 bcleartools
16 baddobjects b_1
17 baddtools b_2 b_3 b_4 b_5 b_6 b_7
18 bfillds
19
20 # build the result of General Fuse operation
21 bbuild rgf
22 checkshape rgf
23 checknbshapes rgf -solid 82 
24
25 # build the result of Boolean Fuse operation
26 bbop result 1
27 checkshape result
28 checknbshapes result -solid 1 -face 404
29
30 checkview -display result -2d -path ${imagedir}/${test_image}.png