mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-20 11:54:07 +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
26 lines
554 B
Plaintext
26 lines
554 B
Plaintext
puts "========"
|
|
puts "OCC26379"
|
|
puts "========"
|
|
puts ""
|
|
#######################################################
|
|
# Wrong result produced by the volume maker algorithm
|
|
#######################################################
|
|
|
|
restore [locate_data_file OCC26379-csf_2.brep] cf
|
|
mkvolume result cf -ni
|
|
|
|
vinit
|
|
vsetdispmode 1
|
|
vdisplay result
|
|
vfit
|
|
|
|
set bug_info [vreadpixel 350 310 name]
|
|
if {$bug_info != "DARKGOLDENROD3 1"} {
|
|
puts "ERROR: OCC26379 is reproduced. Volume is incorrect."
|
|
}
|
|
|
|
checkprops result -s 6.60933e+006
|
|
checkshape result
|
|
|
|
set only_screen 1
|