0028165: Improve performance of Boolean Operations
[occt.git] / tests / bugs / modalg_6 / bug28165_2
1 puts "========"
2 puts "OCC28165"
3 puts "========"
4 puts ""
5 #################################################
6 # Improve performance of Boolean Operations
7 #################################################
8
9 restore [locate_data_file bug28165_shapes1.brep] c
10
11 explode c
12 # c_1 is a face
13 # c_2 is a set of edges
14
15 # rotate the shapes to make no intersections at all
16 ttranslate c_2 0 0 0.1
17 trotate c_1 c_2 0 0 0 1 1 0 45
18
19 bclearobjects
20 bcleartools
21 baddobjects c_1
22 baddctools c_2
23 bfillds
24 bbuild result
25
26 checknbshapes result -edge 5074 -face 1
27
28 checkview -display result -2d -path ${imagedir}/${test_image}.png