0025945: Make stable checking of shape global properties in tests
[occt.git] / tests / pipe / specific / R3
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_rectangle.brep] e1
12wire s2 e1
13
14puts "###############################################################################"
15puts "# (case /-FR/-/-S/)"
16puts "###############################################################################"
17
a4eba920 18checkshape s1
19checkshape s2
20
21mksweep s1
22
23setsweep -FR
24addsweep s2
25if [catch { buildsweep result -S} res] {
26 puts "Faulty OCC1477: buildsweep is wrong"
27}
228148b3 28
58cf74e0 29checkprops result -s 27417.2 -v 50977.6
228148b3 30
a4eba920 31checknbshapes result -vertex 12 -edge 20 -wire 10 -face 10 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 54
228148b3 32set 2dviewer 0