82314bdf |
1 | puts "============" |
2 | puts "OCC26289" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # STEP import/export produces an empty shape |
7 | ####################################################################### |
8 | |
9 | restore [locate_data_file bug26289_solid_3.brep] a1 |
10 | |
11 | set aFile ${imagedir}/bug26289.stp |
12 | catch { file delete ${aFile} } |
13 | |
14 | stepwrite a a1 ${aFile} |
15 | |
16 | stepread ${aFile} b * |
17 | |
18 | checknbshapes b_1 -vertex 338 -edge 673 -wire 337 -face 337 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 1687 -m "Shape" |
19 | |
20 | vinit View1 |
21 | vdisplay a1 |
22 | vfit |
23 | vdump ${imagedir}/${casename}_1.png |
24 | |
25 | vinit View2 |
26 | vdisplay b_1 |
27 | vfit |
28 | vdump ${imagedir}/${casename}_2.png |