472433e2 |
1 | puts "# ======================================================================" |
2 | puts "# 0029355: OCCT 6.9.1 persistence restored in OCCT 7.2.0 not working" |
3 | puts "# ======================================================================" |
4 | |
5 | pload OCAF MODELING |
6 | |
7 | puts "" |
8 | puts "# Check reading of shape from FSD archive" |
9 | fsdread [locate_data_file bug29355.fsd] a |
10 | checkshape a |
11 | checknbshapes a -face 14 -solid 0 -edge 39 -vertex 26 |
12 | |
13 | puts "" |
14 | puts "# Check that reading fails with expected message on truncated file" |
15 | puts "REQUIRED 29355 ALL: Error : 6" |
16 | catch {fsdread [locate_data_file bug29355_truncated.fsd] a} |