mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-13 15:19:13 +08: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
31 lines
651 B
Plaintext
Executable File
31 lines
651 B
Plaintext
Executable File
puts "========================"
|
|
puts " OCC288 "
|
|
puts "(case 2)"
|
|
puts "========================"
|
|
|
|
restore [locate_data_file shading_105.brep] result
|
|
puts [checkshape result]
|
|
|
|
tclean result
|
|
vinit
|
|
vdisplay result
|
|
vsetdispmode result 1
|
|
isos result 0
|
|
triangles result
|
|
vfit
|
|
|
|
set tri 0
|
|
set nod 0
|
|
set info [trinfo result]
|
|
regexp { +([-0-9.+eE]+) +triangles} $info full tri
|
|
regexp { +([-0-9.+eE]+) +nodes} $info full nod
|
|
puts [format " tri= %s nod= %s " $tri $nod]
|
|
|
|
if { $tri != 1170 && $nod != 647} {
|
|
puts " Warning: OCC288 (case 2) looks like OK, but visual checking is required !!!!"
|
|
} else {
|
|
puts " OCC288 (case 2) : Faulty"
|
|
}
|
|
|
|
set only_screen 1
|