mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 10:10:56 +08:00
26 lines
576 B
Plaintext
26 lines
576 B
Plaintext
puts "========"
|
|
puts "OCC26657: STEP OCAF writers should keep hierarchy and colors when saving non-root elements"
|
|
puts "========"
|
|
puts ""
|
|
|
|
pload DCAF TOPTEST XDE XDEDRAW
|
|
ReadStep D1 [locate_data_file bug26657.stp]
|
|
|
|
set aTmpFile ${imagedir}/${casename}_temp.stp
|
|
WriteStep D1 $aTmpFile a 0:1:1:1:2
|
|
if { [catch { Close D11 } catch_result] } {
|
|
puts "Document D11 is not exist"
|
|
}
|
|
ReadStep D11 $aTmpFile
|
|
file delete -force $aTmpFile
|
|
|
|
XGetOneShape result D11
|
|
checkshape result f
|
|
|
|
Close D1
|
|
checknbshapes result -solid 3
|
|
XShow D11
|
|
vfit
|
|
vsetdispmode 1
|
|
vdump $imagedir/${casename}.png
|