0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / pipe / specific / K6
CommitLineData
228148b3 1puts "============"
2puts "OCC1477"
3puts "============"
4puts ""
5######################################################
6# Problems in MakePipeShell
7# (case 13)
8######################################################
9
10restore [locate_data_file OCC1477_bsplinewire_c0.brep] s1
11restore [locate_data_file OCC1477_profile1_circle.brep] e1
12wire s2 e1
13
14puts "###############################################################################"
15puts "# (case /-/-T/-R/)"
16puts "###############################################################################"
17
a4eba920 18checkshape s1
19checkshape s2
228148b3 20
a4eba920 21mksweep s1
22
23addsweep s2 -T
24if [catch { buildsweep result -R} res] {
25 puts "Faulty OCC1477: buildsweep is wrong"
26}
228148b3 27
a4eba920 28set square 33467.5
228148b3 29
a4eba920 30checknbshapes result -vertex 3 -edge 8 -wire 3 -face 3 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 18
228148b3 31set 2dviewer 0