0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / step / bug26657
CommitLineData
f5e92b04 1puts "========"
30fa5f67 2puts "OCC26657: STEP OCAF writers should keep hierarchy and colors when saving non-root elements"
f5e92b04 3puts "========"
4puts ""
30fa5f67 5
6pload DCAF TOPTEST XDE XDEDRAW
f5e92b04 7ReadStep D1 [locate_data_file bug26657.stp]
30fa5f67 8
9set aTmpFile ${imagedir}/${casename}_temp.stp
10WriteStep D1 $aTmpFile a 0:1:1:1:2
f5e92b04 11if { [catch { Close D11 } catch_result] } {
30fa5f67 12 puts "Document D11 is not exist"
f5e92b04 13}
30fa5f67 14ReadStep D11 $aTmpFile
15file delete -force $aTmpFile
f5e92b04 16
f5e92b04 17XGetOneShape result D11
18checkshape result f
19
20Close D1
21checknbshapes result -solid 3
22XShow D11
23vfit
24vsetdispmode 1
30fa5f67 25vdump $imagedir/${casename}.png