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