0026607: Wrong value of area.
[occt.git] / tests / thrusection / specific / B6
CommitLineData
3bea4c16 1puts "============"
2puts "OCC7166"
3puts "============"
4puts ""
5#######################################################################
6# Improvement of API of ThruSection
7#######################################################################
8
9set BugNumber OCC7166
10
11circle c1 0 0 0 10
12mkedge e1 c1
13wire w1 e1
14
15vertex v1 40 0 20
16vertex v2 40 0 -20
17
18set issolid 0
19set isruled 0
20catch {thrusections result ${issolid} ${isruled} v1 w1 v2}
21
22
5b0f2540 23set square 2556.25
3bea4c16 24
25set nb_v_good 2
26set nb_e_good 3
27set nb_w_good 1
28set nb_f_good 1
29set nb_sh_good 1
30set nb_sol_good 0
31set nb_compsol_good 0
32set nb_compound_good 0
33set nb_shape_good 8
34
35
36
37set index [lsearch [whatis result] Closed]
38if {$index == -1} {
39 puts "Faulty ${BugNumber} : result is not Closed shape"
40
41}
42
43set 3dviewer 0
44