0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / modalg_5 / bug25491
1 puts "============"
2 puts "OCC25491"
3 puts "============"
4 puts ""
5 #######################################################################
6 # BRepOffsetAPI_MakeOffset algorithm crashes on customer's shape and big value of offset
7 #######################################################################
8
9 restore [locate_data_file bug25491_offset_lines_2.brep] a
10
11 if [catch { mkoffset resoffset a 1 -35 i } ] {
12   puts "Error : mkoffset is wrong"
13 } else {
14   renamevar resoffset_1 result
15
16   checkprops result -l 120 
17 checkshape result 
18 checksection result
19
20   checknbshapes result -vertex 5 -edge 5 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 11
21 }
22
23 smallview
24 display a
25 fit
26 checkview -screenshot -2d -path ${imagedir}/${test_image}.png