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
35 lines
655 B
Plaintext
Executable File
35 lines
655 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC22985"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Regression: no shading on good face
|
|
#######################################################################
|
|
|
|
set BugNumber OCC22985
|
|
|
|
restore [locate_data_file OCC22985-gt602-f72-noshading.brep] result
|
|
|
|
vinit
|
|
vdisplay result
|
|
vfit
|
|
|
|
vsetdispmode 1
|
|
|
|
set x 150
|
|
set y 175
|
|
|
|
set RED_R1 0.68627399206161499
|
|
set GREEN_R1 0.48627400398254395
|
|
set BLUE_R1 0.078431000000000001
|
|
|
|
vmoveto $x $y
|
|
vmoveto $x $y
|
|
|
|
checkcolor $x $y ${RED_R1} ${GREEN_R1} ${BLUE_R1}
|
|
|
|
checkprops result -s 0.0984334
|
|
checkshape result
|
|
set only_screen 1
|
|
|