1puts "========"
2puts "OCC28284"
3puts "========"
4puts ""
5#################################################
6# Avoid classification of sub-shapes of arguments of BOPs relatively solids during Intersection phase
7#################################################
8
9restore [locate_data_file bug28284_1.brep] b1
10plane p 0 9000 0 0 1 0
11mkface f p -1.e+6 1.e+6 -1.e+6 1.e+6
12halfspace b2 f 0 0 0
13
14bop b1 b2
15
16bopcommon result1
17checkshape result1
18checknbshapes result1 -solid 1
19checkprops result1 -s 2.58352e+007 -v 2.43418e+008
20
21bopcut result
22checkshape result
23checknbshapes result -solid 1
24checkprops result -s 247149 -v 1.81425e+006
25
26checkview -display result -2d -path ${imagedir}/${test_image}.png