mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
26 lines
603 B
Plaintext
Executable File
26 lines
603 B
Plaintext
Executable File
pload QAcommands
|
|
|
|
puts "======="
|
|
puts "OCC823"
|
|
puts "======="
|
|
puts ""
|
|
###############################
|
|
## BRepAlgoAPI_Fuse fails on two cylinders
|
|
###############################
|
|
|
|
if { [ catch { set info_result [OCC823 a1 a2 result] } ] } {
|
|
puts "Faulty OCC823"
|
|
} else {
|
|
if { [regexp {FAILED} $info_result] } {
|
|
puts "Faulty OCC823"
|
|
}
|
|
|
|
set ExplodeList [explode result]
|
|
if {[llength ${ExplodeList}] < 1} {
|
|
puts "Faulty OCC823 : Resulting shape is empty COMPOUND"
|
|
}
|
|
}
|
|
checkprops result -s 23189.5
|
|
checkshape result
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|