5 #######################################################################
6 # Fail to read back solid written to STEP
7 #######################################################################
9 restore [locate_data_file bug25523_bad_loopback_step.brep] a
11 checknbshapes a -vertex 30 -edge 54 -wire 32 -face 27 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 145 -m "Stator model"
14 set aFile ${imagedir}/bug25523.stp
15 catch { file delete ${aFile} }
17 stepwrite a a ${aFile}
20 checknbshapes b_1 -vertex 30 -edge 54 -wire 32 -face 27 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 145 -m "Stator model"
22 tpstat c ;# reports exception
27 vdump ${imagedir}/${casename}_1.png
32 vdump ${imagedir}/${casename}_2.png