809eca9d |
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-sphere_cyl2_cut.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 | |
58cf74e0 |
19 | checkprops result -s 14217.2 |
20 | checkshape result |
809eca9d |
21 | |
a4eba920 |
22 | checknbshapes result -vertex 6 -edge 9 -wire 3 -face 2 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 22 |
5747059b |
23 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |