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