0031492: BRepBuilderAPI_MakeFace crashes on a wire
[occt.git] / tests / bugs / modalg_7 / bug28216
CommitLineData
9026dea8 1puts "============"
2puts "OCC28216"
3puts "============"
4puts ""
5#####################################################################################################
6# Intersection of a face and a solid is broken up leading to empty result of Boolean common operation
7#####################################################################################################
8
9restore [locate_data_file bug28216_initSurf.brep] s
10restore [locate_data_file bug28216_solid.brep] o
11
12bop s o
13
14bopsection r_section
e67e482d 15checknbshapes r_section -vertex 4 -edge 4 -m "bopsection"
9026dea8 16bopcheck r_section
17
18bopcommon r_common
e67e482d 19checknbshapes r_common -vertex 4 -edge 4 -face 1 -m "bopcommon"
9026dea8 20bopcheck r_common
21
22checkview -display r_section -2d -path ${imagedir}/${test_image}-section.png
23checkview -display r_common -2d -path ${imagedir}/${test_image}-common.png