0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / xde / bug22535_2
1 puts "==========="
2 puts "OCC22535"
3 puts "==========="
4 ######################################################
5 # Cut cphere: invalid shape after reading from STEP
6 ######################################################
7
8 set BugNumber OCC22535
9
10 restore [locate_data_file OCC22535-cut_comp.brep] a 
11 testwritestep $imagedir/${test_image}.stp a
12 stepread $imagedir/${test_image}.stp b *
13 renamevar b_1 result
14 vinit
15 vsetdispmode 1
16 vdisplay result
17 vfit
18
19 set square 50201.3
20
21 checknbshapes result -vertex 15 -edge 24 -wire 9 -face 8 -shell 5 -solid 4 -compsolid 0 -compound 1 -shape 66
22 set 3dviewer 1