0031492: BRepBuilderAPI_MakeFace crashes on a wire
[occt.git] / tests / bugs / modalg_7 / bug28849
1 puts "======="
2 puts "OCC28849"
3 puts "======="
4 puts ""
5 ##################################################
6 # [Regression to 7.1.0] Exception in Boolean operation
7 ##################################################
8
9 restore [locate_data_file bug28849_shape1.brep] s1
10 restore [locate_data_file bug28849_shape2.brep] s2
11
12 bsection result s1 s2
13
14 regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full nbv
15
16 if { $nbv != 2 } { 
17   puts "Error : Section is incorrect" 
18 } else {
19   puts "Section is correct" 
20 }
21
22 checkprops result -l 5.40612
23
24 smallview
25 don result
26 fit
27
28 checkview -screenshot -2d -path ${imagedir}/${test_image}.png