5 #######################################################################
7 # -- test #2: in rotated co-ordinates --
8 #######################################################################
10 puts "Load first shape ..."
11 restore [locate_data_file bug24108_face_411.brep] b1
12 puts "Load second shape ..."
13 restore [locate_data_file bug24108_face_514.brep] b2
15 puts "Rotate shapes by 45 deg around Z .."
16 trotate b1 0 0 0 0 0 1 45.
17 trotate b2 0 0 0 0 0 1 45.
25 puts "Prepare boolean operation ..."
28 puts "Start boolean operation ..."
30 puts "Finish boolean operation ..."
34 # Analysis of "nbshapes result"
35 checknbshapes result -vertex 37 -edge 39 -wire 4 -face 3 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 84