mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
26 lines
534 B
Plaintext
Executable File
26 lines
534 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC1540"
|
|
puts "================"
|
|
puts ""
|
|
##########################################################
|
|
# exception while writing step file with invisible layer
|
|
##########################################################
|
|
|
|
set BugNumber OCC1540
|
|
|
|
XNewDoc D
|
|
box b 10 10 10
|
|
XAddShape D b 1
|
|
XAddLayer D invis
|
|
XSetLayer D b invis
|
|
XSetVisibility D invis 0
|
|
|
|
set status [ catch { WriteStep D $imagedir/${test_image}.stp } ]
|
|
|
|
if { $status == 0 } {
|
|
puts "OK ${BugNumber}"
|
|
} else {
|
|
puts "Faulty ${BugNumber}"
|
|
}
|
|
|