0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / modalg_2 / bug5805_4
1 puts "TODO OCC25925 ALL: ERROR. offsetperform operation not done."
2 puts "TODO OCC25925 ALL: Tcl Exception:"
3 puts "TODO OCC25925 ALL: TEST INCOMPLETE"
4
5 puts "============"
6 puts "OCC5805"
7 puts "============"
8 puts ""
9 ######################################################
10 # BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
11 ######################################################
12
13 set BugNumber OCC5805
14
15 restore [locate_data_file OCC5805.brep] a 
16
17 checkshape a
18
19 explode a f
20
21 offsetparameter 1e-7 c a
22 offsetload a -1 a_6
23
24 if { [catch { offsetperform result } catch_result] } {
25    puts "Faulty ${BugNumber} : offsetshape is wrong"
26 }
27
28 checkmaxtol result -min_tol 1.
29
30 checkprops result -s 1185.03 
31 checkshape result
32
33 checknbshapes result -vertex 10 -edge 15 -wire 7 -face 7 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 41
34 checkview -display result -2d -path ${imagedir}/${test_image}.png