1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
apn 352ffd7358 Adding test cases for chl grid
Test case tests/bugs/modalg/dxf906 was renamed to bug889
Adding test cases to tests/bugs/moddata
Modified expressions puts [checkshape result]. Added command vzfit in end file in folder bugs. Unlocked command coordload in QABugs_3.cxx
Modified test case bugs vis buc60738
Added test cases to modalg and moddata
Added test cases to caf and fclasses
Added test cases to group heal
2012-12-21 16:39:38 +04:00

34 lines
817 B
Plaintext
Executable File

pload QAcommands
puts "========"
puts "OCC486"
puts "========"
puts ""
#############################
## Extrema_ExtPS gives wrong solution.
#############################
restore [locate_data_file OCC486.draw] s
# Case 1. Verify whether surface is u-periodic and v-periodic
set result [isperiodic s]
puts $result
set uper "is u-periodic"
set vper "is v-periodic"
if {[regexp $uper $result] && [regexp $vper $result]} {
puts "OCC486 case 1 - Faulty"
} else {
puts "OCC486 case 1 - OK"
}
# Case 2. Verify extremum distance between point and surface
point p3d -420.1170080179139 926.8792206000001 229.5109675013802
if { [ catch { OCC486 s -420.1170080179139 926.8792206000001 229.5109675013802 0 0.0000001 } ] } {
puts "OCC486 case 2 - Faulty"
} else {
puts "OCC486 case 2 - OK"
}
set 2dviewer 1