0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_7 / bug28571_2
1 puts "TODO OCC28571 ALL: Error: BRepOffsetAPI_MakeOffset build invalid wire"
2 puts "TODO OCC28571 ALL: Error : There are alone Vertices"
3
4 puts "========"
5 puts "OCC28571"
6 puts "========"
7 puts ""
8 #############################################
9 # BRepOffsetAPI_MakeOffset build invalid wire
10 #############################################
11
12 restore [locate_data_file bug28571_inputwire.brep] w
13
14 openoffset result w 1 1 a
15
16 set Log [bopcheck result_1]
17 if {[regexp "This shape seems to be OK" ${Log}] != 1} {
18     puts "Error: BRepOffsetAPI_MakeOffset build invalid wire"
19 }
20
21 regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result_1] full nbv
22 if { $nbv != 0 } { 
23   puts "Error : There are alone Vertices" 
24 }
25
26 top
27 donly w result_1
28 fit
29 checkview -screenshot -2d -path ${imagedir}/${test_image}.png