| puts "=======" | |
| puts "OCC28849" | |
| puts "=======" | |
| puts "" | |
| ################################################## | |
| # [Regression to 7.1.0] Exception in Boolean operation | |
| ################################################## | |
| restore [locate_data_file bug28849_shape1.brep] s1 | |
| restore [locate_data_file bug28849_shape2.brep] s2 | |
| bsection result s1 s2 | |
| regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full nbv | |
| if { $nbv != 2 } { | |
| puts "Error : Section is incorrect" | |
| } else { | |
| puts "Section is correct" | |
| } | |
| checkprops result -l 5.40612 | |
| smallview | |
| don result | |
| fit | |
| checkview -screenshot -2d -path ${imagedir}/${test_image}.png |