mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-08 18:40:55 +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
28 lines
753 B
Plaintext
Executable File
28 lines
753 B
Plaintext
Executable File
|
|
puts "========================"
|
|
puts " SAL594 "
|
|
puts "========================"
|
|
puts ""
|
|
###################################
|
|
## It is impossible to put correct fillets on the shape
|
|
###################################
|
|
|
|
restore [locate_data_file SAL594.brep] a
|
|
explode a e
|
|
|
|
if [catch {blend result1 a 20 a_23 20 a_25 20 a_26 20 a_28} catch_result] {
|
|
puts "Faulty SAL594 (case 1): function BLEND works wrongly"
|
|
} else {
|
|
puts "SAL594 OK (case 1): function BLEND works OK"
|
|
}
|
|
|
|
if [catch {blend result result1 2.5 a_15 2.5 a_12 2.5 a_4} catch_result] {
|
|
puts "Faulty SAL594 (case 2): function BLEND works wrongly."
|
|
} else {
|
|
puts "SAL594 OK (case 2): function BLEND works OK"
|
|
}
|
|
|
|
checkprops result -s 60513.1
|
|
checkshape result
|
|
set 2dviewer 0
|