Modified TODOs in test cases bugs modalg_2 bug5805_* with number of issue #25925.
[occt.git] / tests / bugs / modalg_2 / bug5805_17
CommitLineData
c1e0171c 1puts "TODO OCC25925 ALL: Faulty OCC5805 : result is not Closed shape"
2puts "TODO OCC25925 ALL: result is not a topological shape"
3puts "TODO OCC25925 ALL: TEST INCOMPLETE"
28746337 4
3bea4c16 5puts "============"
6puts "OCC5805"
7puts "============"
8
9#######################################################################
10# BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
11#######################################################################
12
13set BugNumber OCC5805
14
15set z1 5
16set z2 -5
17
18# beziercurve1
19beziercurve bc1 5 5 5 ${z1} 5 -5 ${z1} -5 -5 ${z1} -5 5 ${z1} 5 5 ${z1}
20mkedge e1 bc1
21wire UpCover e1
22
23# beziercurve2
24copy e1 e2
25ttranslate e2 0 0 ${z2}
26wire BottomCover e2
27
28set issolid 1
29set isruled 1
30if [catch { thrusections s ${issolid} ${isruled} UpCover BottomCover } catch_result] {
31 puts "Faulty ${BugNumber} : thrusections is wrong"
32
33}
34
35set distance -0.001
36catch { OFFSETSHAPE $distance {} $calcul $type }
37# Null result
38
39
40set square 495.635
41
42set nb_v_good 2
43set nb_e_good 3
44set nb_w_good 3
45set nb_f_good 3
46set nb_sh_good 1
47set nb_sol_good 1
48set nb_compsol_good 0
49set nb_compound_good 0
50set nb_shape_good 13
51
52
53set index [lsearch [whatis s] Closed]
54if {$index == -1} {
55 puts "Faulty ${BugNumber} : s is not Closed shape"
56
57}
58
59set index [lsearch [whatis result] Closed]
60if {$index == -1} {
61 puts "Faulty ${BugNumber} : result is not Closed shape"
62
63}
64
65
66set 2dviewer 0