ed33932f998f216e5e3059300d04379589954c32
[occt.git] / tests / bugs / modalg_5 / bug25883
1 puts "========"
2 puts "OCC25883"
3 puts "========"
4 puts ""
5 #######################################################
6 # BRepOffsetAPI_MakePipeShell produces invalid result
7 #######################################################
8
9 restore [locate_data_file OCC25883_shape.brep] a
10
11 smallview
12
13 explode a
14
15 mksweep a_1
16 addsweep a_2
17 buildsweep res
18
19 donly res
20 fit
21
22 set bug_info [checkshape res]
23 if {[string compare $bug_info "This shape seems to be valid"] != 0} {
24   puts "ERROR: OCC25883 is reproduced."
25 }
26
27 checkview -screenshot -2d -path ${imagedir}/${test_image}.png