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

20 lines
479 B
Plaintext

puts "========"
puts "OCC24282"
#puts "Shaded presentation is not computed due to exception in StdPrs_ToolShadedShape::Normal()"
puts "========"
restore [locate_data_file bug24282_box_no_uv.brep] b
vinit
vdisplay b
vfit
vsetdispmode b 1
set x_coord 200
set y_coord 200
set RED 0.78039216995239258
set GREEN 0.55294120311737061
set BLUE 0.094117648899555206
checkcolor ${x_coord} ${y_coord} ${RED} ${GREEN} ${BLUE}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png