0020040: Difference in treatment of closed curves in BRep_Builder::UpdateEdge
[occt.git] / tests / bugs / modalg_3 / bug5805_52
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 s_3} $calcul $type }
18
19
20set square 7051.59
21
22set nb_v_good 4
23set nb_e_good 6
24set nb_w_good 6
25set nb_f_good 4
26set nb_sh_good 1
27set nb_sol_good 1
28set nb_compsol_good 0
29set nb_compound_good 0
30set nb_shape_good 22
31
32
33set index [lsearch [whatis s] Closed]
34if {$index == -1} {
35 puts "Faulty ${BugNumber} : s is not Closed shape"
36
37}
38
39set index [lsearch [whatis result] Closed]
40if {$index == -1} {
41 puts "Faulty ${BugNumber} : result is not Closed shape"
42
43}
44
45
46set 2dviewer 0