0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / modalg_3 / bug5805_50
CommitLineData
3bea4c16 1puts "============"
2puts "OCC5805"
3puts "============"
4
5#######################################################################
6# BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
7#######################################################################
8
9set BugNumber OCC5805
10
11# pcone
12pcone s 30 5 20
27a66128 13explode s sh
14renamevar s_1 s
3bea4c16 15
16set distance -0.5
17catch { OFFSETSHAPE $distance {s_2} $calcul $type }
18
19
58cf74e0 20checkprops result -s 12150
21checkshape result
a4eba920 22checknbshapes result -vertex 4 -edge 6 -wire 6 -face 5 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 23
3bea4c16 23
24set index [lsearch [whatis s] Closed]
25if {$index == -1} {
26 puts "Faulty ${BugNumber} : s is not Closed shape"
27
28}
29
30set index [lsearch [whatis result] Closed]
31if {$index == -1} {
32 puts "Faulty ${BugNumber} : result is not Closed shape"
33
34}
35
36
5747059b 37checkview -display result -2d -path ${imagedir}/${test_image}.png