1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/vis/bug21091_3

36 lines
758 B
Plaintext
Executable File

puts "TODO ?OCC11111 ALL: Faulty : Export to pdf file was done but size of file is incorrect"
puts "============"
puts "OCC21091"
puts "OCC21450"
puts "============"
puts ""
#vinit
#vexport
#vexport full_file_path {PS | EPS | TEX | PDF | SVG | PGF } : exports the view to a vector file of a given format
#
pload XSDRAW
vinit
set only_screen 1
meshfromstl m [locate_data_file shape.stl]
meshdispmode m 34
set aFile $imagedir/${test_image}.pdf
vexport ${aFile} PDF
if { [file exists ${aFile}] } {
puts "Export to pdf file was done"
set filesize [file size ${aFile}]
if { $filesize != 154489 } {
puts "Faulty : Export to pdf file was done but size of file is incorrect"
}
} else {
puts "Faulty : Export to pdf file was not done"
}