1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/vis/bug21091_3
anv 709e97a0c1 0024961: MeshVS: revision of DRAW commands
meshfromstl - display MeshVS_Mesh object in a way consistent with vdisplay command
meshdel - deleted, vremove to be used instead
meshshowall - set empty maps of hidden IDs instead of null handles
meshhidesel - initialize the maps of hidden IDs to avoid exception
meshmat - add optional transparency argument and enable transparency in the viewer if not yet done
meshvectors - command for testing VectorPrsBuilder added

MeshVS: DRAW commands improving
Updating test cases due to previous changes
Small bug in MeshVS_ElementalColorPrsBuilder fixed
vselmode fix
Small correction of test cases for issue CR24961
2014-09-26 16:27:01 +04:00

38 lines
770 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]
meshtext m
vsetdispmode 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"
}