0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / moddata_3 / bug24108_2
CommitLineData
42ff8f5b 1puts "============"
2puts "CR24108"
3puts "============"
4puts ""
5#######################################################################
6# Boolean fuse fails
7# -- test #2: in rotated co-ordinates --
8#######################################################################
9
10puts "Load first shape ..."
11restore [locate_data_file bug24108_face_411.brep] b1
12puts "Load second shape ..."
13restore [locate_data_file bug24108_face_514.brep] b2
14
15puts "Rotate shapes by 45 deg around Z .."
16trotate b1 0 0 0 0 0 1 45.
17trotate b2 0 0 0 0 0 1 45.
18
19explode b1 f
20explode b2 f
21
22copy b1_1 b1
23copy b2_1 b2
24
25puts "Prepare boolean operation ..."
26bop b1 b2
27
28puts "Start boolean operation ..."
29bopfuse result
30puts "Finish boolean operation ..."
31
58cf74e0 32checkprops result -s 1328.78
42ff8f5b 33
34# Analysis of "nbshapes result"
a4eba920 35checknbshapes result -vertex 37 -edge 39 -wire 4 -face 3 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 84
5747059b 36checkview -display result -3d -path ${imagedir}/${test_image}.png