1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

28 lines
563 B
Plaintext
Executable File

puts "========="
puts " OCC794 "
puts "========="
puts ""
#####################################################
## The offset algorithm produced invalid result when offseting an attached face
#####################################################
pload QAcommands
restore [locate_data_file OCC794.brep] a
offsetshape result a 10
set x_coord 120
set y_coord 150
vinit
vdisplay result
vsetdispmode 1
vfit
checkcolor $x_coord $y_coord 0.77 0.54 0.09
checkprops result -s 206399
checkshape result
checkview -screenshot -3d -path ${imagedir}/${test_image}.png