Files
OCCT/tests/bugs/modalg/bug423_1
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

28 lines
590 B
Plaintext
Executable File

puts "========================"
puts " OCC423 "
puts "(case 1)"
puts "========================"
puts ""
restore [locate_data_file cylindre.rle] cyl
puts [checkshape cyl]
restore [locate_data_file contour.rle] cont
puts [checkshape cont]
mkplane cont cont
nexplode cyl F
ttranslate cont 0 200 0
featdprism cyl cont cont 10 1 1
if [catch {featperformval dprism result 55 cyl_3 } catch_result] {
puts "Faulty OCC423 (case 1): function FEATPERFORMVAL works wrongly"
} else {
puts "OCC423 OK (case 1): function FEATPERFORMVAL works properly"
}
set square 94944.4
set 2dviewer 0