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