1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/tests/bugs/modalg/bug397
apn f1aa2b6272 Adding new testing cases for chl grid
Adding procedures checkcolor and checkpoint.
Modified test cases which are used QAGetPixelColor or QAAISGetPixelColor2d
Allow using command QAAISGetPixelColor2d on WNT
Rename test case tests/bugs/vis/bug19619 to pro19619
Added test cases to modalg and moddata
2012-12-14 16:56:11 +04:00

35 lines
483 B
Plaintext
Executable File

puts "========================"
puts " OCC397 "
puts "========================"
pload QAcommands
restore [locate_data_file OCC397.brep] a
puts [checkshape a]
tclean a
explode a f
renamevar a_55 result
vinit
vdisplay result
vfit
vsetdispmode result 1
set x_coord 235
set y_coord 180
checkcolor $x_coord $y_coord 0.5 0.35 0.05
if { ${stat} != 1 } {
puts "Error : Shading is missing in 3D Viewer"
}
QASelect 220 170
QASelect 220 170
set square 92.9029
set only_screen 1