mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-15 13:47:46 +08:00
58cf74e0c0
- Added function checkprops, set default tolerance parameter to 1.0e-4 - Using "area" instead of "square". - Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases. - Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1) - Corrected test cases to use checkprops proc. - Correct image difference - Updated TODOs in test cases. - Updated test cases to get correct images of result shape
31 lines
739 B
Plaintext
Executable File
31 lines
739 B
Plaintext
Executable File
puts "========"
|
|
puts "OCC21124"
|
|
puts "========"
|
|
puts ""
|
|
######################################################
|
|
# Mapping between IGES entinties and result shapes is lost on attached file.
|
|
######################################################
|
|
|
|
set BugNumber OCC21124
|
|
|
|
set filepath [locate_data_file OCC21124.igs]
|
|
if [catch { igesbrep $filepath a *} catch_result] {
|
|
puts "Error ${BugNumber}: there is reading problem"
|
|
} else {
|
|
whatis a
|
|
explode a
|
|
whatis a_91
|
|
explode a_91
|
|
set l [fromshape a_91_3]
|
|
regexp {type : +([-0-9.+eE]+)} $l full type
|
|
if { ${type} != 408 } {
|
|
puts "Faulty ${BugNumber}"
|
|
} else {
|
|
puts "OK ${BugNumber}"
|
|
}
|
|
}
|
|
renamevar a_91_3 result
|
|
checkprops result -s 74027
|
|
checkshape result
|
|
set 2dviewer 0
|