0020040: Difference in treatment of closed curves in BRep_Builder::UpdateEdge
[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
21set square 5829.59
22
23set nb_v_good 2
24set nb_e_good 3
25set nb_w_good 3
26set nb_f_good 3
27set nb_sh_good 1
28set nb_sol_good 1
29set nb_compsol_good 0
30set nb_compound_good 0
31set nb_shape_good 13
32
33
34set index [lsearch [whatis s] Closed]
35if {$index == -1} {
36 puts "Faulty ${BugNumber} : s is not Closed shape"
37
38}
39
40set index [lsearch [whatis result] Closed]
41if {$index == -1} {
42 puts "Faulty ${BugNumber} : result is not Closed shape"
43
44}
45
46
47set 2dviewer 0