1puts "================"
2puts "OCC27677"
3puts "================"
4puts ""
5#######################################################################
6# Incorrect CUT of a solid by semi-infinite solid
7#######################################################################
8
9restore [locate_data_file bug27677_solid_halfspace.brep] s
10restore [locate_data_file bug27677_real_frame_shape.brep] f
11
12bop s f
13boptuc result
14
15# Check result validity.
16checkshape result
17
18# Check number of topological entities in the result.
19checknbshapes result -solid 1 -shell 1 -face 11 -wire 12 -edge 32 -vertex 22
20
21# Check result area.
22checkprops result -s 2.82114
23
24smallview
25don result
26fit
27
28checkview -screenshot -2d -path ${imagedir}/${test_image}.png
29