0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / step / bug26657
CommitLineData
f5e92b04 1pload DCAF
2pload TOPTEST
3pload XDE
4puts "========"
5puts "OCC26657"
6puts "========"
7puts ""
8##########################################################################
9# STEP OCAF writers should keep hierarchy and colors when saving non-root elements
10##########################################################################
11pload XDEDRAW
12ReadStep D1 [locate_data_file bug26657.stp]
13WriteStep D1 $imagedir/bug26657_temp.stp a 0:1:1:1:2
14if { [catch { Close D11 } catch_result] } {
15 puts "Document D11 is not exist"
16}
17
18ReadStep D11 $imagedir/bug26657_temp.stp
19XGetOneShape result D11
20checkshape result f
21
22Close D1
23checknbshapes result -solid 3
24XShow D11
25vfit
26vsetdispmode 1
27vdump $imagedir/${test_image}.png
28