1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-30 13:05:50 +03:00
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
742 B
Plaintext
Executable File

puts "========================"
puts "OCC625"
puts "========================"
puts ""
###############################################################################
## Created filler looks strange (see attached picture) inspite of checkshapes told about correct source and result shapes.
###############################################################################
pload QAcommands
restore [locate_data_file OCC625.brep] a
puts [checkshape a]
vinit
tclean a
explode a e
blend res1 a 10 a_22 10 a_14
blend result res1 10 a_17 10 a_4
puts [checkshape result]
vinit
vdisplay result
vfit
vsetdispmode result 1
QAUpdateLights
set x_coord 116
set y_coord 252
checkcolor $x_coord $y_coord 0.82 0.58 0.09
set square 19977
set 3dviewer 1