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
30 lines
647 B
Plaintext
Executable File
30 lines
647 B
Plaintext
Executable File
pload QAcommands
|
|
|
|
puts "========"
|
|
puts "OCC828"
|
|
puts "========"
|
|
puts ""
|
|
###############################
|
|
## BRepFilletAPI_MakeFillet fails on prism
|
|
###############################
|
|
|
|
if { [ catch { set info_result [OCC828 a1] } ] } {
|
|
puts "Faulty : an exception was caught"
|
|
} else {
|
|
if { [lsearch ${info_result} FAILED] > -1} {
|
|
puts "Faulty : command was FAILED"
|
|
}
|
|
checkshape a1
|
|
explode a1 e
|
|
blend result a1 10 a1_7 10 a1_6
|
|
|
|
set ExplodeList [explode result]
|
|
if {[llength ${ExplodeList}] < 1} {
|
|
puts "Faulty : Resulting shape is empty COMPOUND"
|
|
}
|
|
}
|
|
|
|
checkprops result -s 17816.2
|
|
checkshape result
|
|
set 2dviewer 0
|