0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL
[occt.git] / tests / bugs / modalg_5 / bug25704_5
1 puts "============"
2 puts "OCC25704"
3 puts "============"
4 puts ""
5 #######################################################################
6 # BRepOffsetAPI_MakeOffset: some customer's cases are processed incorrect
7 #######################################################################
8
9 restore [locate_data_file bug25704_offset_lines_case3.brep] a
10
11 if [catch { mkoffset resoffset a 1 1. i } ] {
12   puts "Error : mkoffset is wrong"
13 } else {
14   renamevar resoffset_1 result
15
16   checkprops result -l 38.9737 
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