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