| puts "================" | |
| puts "OCC27677" | |
| puts "================" | |
| puts "" | |
| ####################################################################### | |
| # Incorrect CUT of a solid by semi-infinite solid | |
| ####################################################################### | |
| restore [locate_data_file bug27677_solid_halfspace.brep] s | |
| restore [locate_data_file bug27677_real_frame_shape.brep] f | |
| bop s f | |
| boptuc result | |
| # Check result validity. | |
| checkshape result | |
| # Check number of topological entities in the result. | |
| checknbshapes result -solid 1 -shell 1 -face 11 -wire 12 -edge 32 -vertex 22 | |
| # Check result area. | |
| checkprops result -s 2.82114 | |
| smallview | |
| don result | |
| fit | |
| checkview -screenshot -2d -path ${imagedir}/${test_image}.png |