0026106: BRepMesh - revision of data model
[occt.git] / tests / bugs / modalg_2 / bug5805_49
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
13
27a66128 14explode s sh
15renamevar s_1 s
16
3bea4c16 17set distance -0.5
18catch { OFFSETSHAPE $distance {} $calcul $type }
19
20
58cf74e0 21checkprops result -s 5829.59
22checkshape result
3bea4c16 23
a4eba920 24checknbshapes result -vertex 2 -edge 3 -wire 3 -face 3 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 12
3bea4c16 25
26set index [lsearch [whatis s] Closed]
27if {$index == -1} {
28 puts "Faulty ${BugNumber} : s is not Closed shape"
29
30}
31
32set index [lsearch [whatis result] Closed]
33if {$index == -1} {
34 puts "Faulty ${BugNumber} : result is not Closed shape"
35
36}
37
38
5747059b 39checkview -display result -2d -path ${imagedir}/${test_image}.png