mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
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
35 lines
483 B
Plaintext
Executable File
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
|
|
|
|
|