0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / modalg_2 / bug5805_30
CommitLineData
58cf74e0 1puts "TODO OCC25925 ALL: Error : The area of result shape is"
3bea4c16 2
3puts "============"
4puts "OCC5805"
5puts "============"
6
7#######################################################################
8# BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
9#######################################################################
10
11set BugNumber OCC5805
12
13set z1 10
14set z2 -10
15
16# circle1
17circle c1 0 0 ${z1} 5
18mkedge ec1 c1
19wire UpCover ec1
20
21# circle2
22circle c2 0 0 ${z2} 30
23mkedge ec2 c2
24wire BottomCover ec2
25
26set issolid 1
27set isruled 1
28if [catch { thrusections s ${issolid} ${isruled} UpCover BottomCover } catch_result] {
29 puts "Faulty ${BugNumber} : thrusections is wrong"
30
31}
32
33set distance -0.5
34catch { OFFSETSHAPE $distance {s_2} $calcul $type }
35
36
58cf74e0 37checkprops result -s 1336.75
38checkshape result
3bea4c16 39
a4eba920 40checknbshapes result -vertex 4 -edge 6 -wire 6 -face 5 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 23
3bea4c16 41
42set index [lsearch [whatis s] Closed]
43if {$index == -1} {
44 puts "Faulty ${BugNumber} : s is not Closed shape"
45
46}
47
48set index [lsearch [whatis result] Closed]
49if {$index == -1} {
50 puts "Faulty ${BugNumber} : result is not Closed shape"
51
52}
53
54
5747059b 55checkview -display result -2d -path ${imagedir}/${test_image}.png