1puts "========"
2puts "OCC28165"
3puts "========"
4puts ""
5#################################################
6# Improve performance of Boolean Operations
7#################################################
8
9restore [locate_data_file bug28165_shapes1.brep] c
10
11explode 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
16ttranslate c_2 0 0 0.1
17trotate c_1 c_2 0 0 0 1 1 0 45
18
19bclearobjects
20bcleartools
21baddobjects c_1
22baddctools c_2
23bfillds
24bbuild result
25
26checknbshapes result -edge 5074 -face 1
27
28checkview -display result -2d -path ${imagedir}/${test_image}.png