mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
- 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
36 lines
723 B
Plaintext
Executable File
36 lines
723 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC20373"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Shading doesn't work on b-spline sphere
|
|
#######################################################################
|
|
|
|
set BugNumber OCC20373
|
|
|
|
restore [locate_data_file OCC20373.brep] result
|
|
|
|
vinit
|
|
vdisplay result
|
|
vsetdispmode 1
|
|
vfit
|
|
|
|
set tri_info [trinfo result]
|
|
regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
|
|
regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
|
|
|
|
puts [format " tri= %s noe= %s " $tri $nod]
|
|
|
|
# Resume
|
|
puts ""
|
|
if { ${tri} == 0 } {
|
|
puts "Faulty ${BugNumber}"
|
|
} else {
|
|
puts "OK ${BugNumber}"
|
|
}
|
|
|
|
checkprops result -s 9.92128e+06
|
|
checkshape result
|
|
set 3dviewer 1
|
|
|