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