0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / thrusection / specific / L7
CommitLineData
3bea4c16 1puts "TODO OCC7166 ALL: Error : The square of the resulting shape is"
2
3puts "============"
4puts "OCC7166"
5puts "============"
6puts ""
7#######################################################################
8# Improvement of API of ThruSection
9#######################################################################
10
11set BugNumber OCC7166
12
13# spine
14polyline s1 0 0 20 0 0 -20
15
16# profile
17pbsplinecurve pbs1 3 9 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 -1 0 0 1 -2 2 0 1 0 1 0 1 2 2 0 1 1 0 0 1 2 -2 0 1 0 -1 0 1 -2 -2 0 1
18mkedge e1 pbs1
19wire s2 e1
20
21# 1 vertex
22vertex v1 0 0 -20
23
24mksweep s1
25
26addsweep v1 -T
27addsweep s2
28
29catch {buildsweep result}
30
31
32set square 898.589
33
a4eba920 34checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 8
3bea4c16 35
36
37set 3dviewer 0
38