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/bug25027
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

18 lines
489 B
Plaintext
Executable File

puts "============"
puts "OCC25027"
puts "============"
puts ""
#######################################################################
# Visualization - 2D layer viewport is updated incorrectly on resize
#######################################################################
box b 1 2 3
vinit View1 w=1024 h=512
vsetdispmode 1
vdisplay b
vfit
vcolorscale cs -range 10 20 100 -font 16 -textpos right -xy 0 0
vmoveto 512 250
checkview -screenshot -3d -path ${imagedir}/${test_image}.png