0026833: Create command checkview containing all viewer types
[occt.git] / tests / bugs / xde / bug23951
CommitLineData
574d7236 1puts "=========="
2puts "OCC23951"
3puts "=========="
4puts ""
5#####################################################################################
6# Visibility of free, simple shapes not saved when writing XCAF Document info STEP
7#####################################################################################
8
9pload QAcommands
10
7a7e8cf1 11set FilePath ${imagedir}/bug23951_test_box.step
12
13file delete -force ${FilePath}
14set info [OCC23951 ${FilePath}]
574d7236 15
16if { [regexp "Write Done" $info] != 1 } {
17 puts "Error: file was not written"
18} else {
19 puts "OK: file was written"
20}
21
7a7e8cf1 22stepread ${FilePath} a *
574d7236 23axo
24fit
25
5747059b 26checkview -screenshot -2d -path ${imagedir}/${test_image}.png