mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
27 lines
594 B
Plaintext
Executable File
27 lines
594 B
Plaintext
Executable File
pload QAcommands
|
|
|
|
puts "============"
|
|
puts "OCC824"
|
|
puts "============"
|
|
puts ""
|
|
####################################
|
|
## BRepAlgoAPI_Fuse fails on cylinder and sphere
|
|
####################################
|
|
|
|
if { [ catch { set info_result [OCC824 a1 a2 result] } ] } {
|
|
puts "Faulty OCC824"
|
|
} else {
|
|
if { [regexp {FAILED} $info_result] } {
|
|
puts "Faulty OCC824"
|
|
}
|
|
|
|
set ExplodeList [explode result]
|
|
if {[llength ${ExplodeList}] < 1} {
|
|
puts "Faulty OCC824"
|
|
}
|
|
}
|
|
|
|
checkprops result -s 16336.3
|
|
checkshape result
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|