1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_4/bug822_2
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

28 lines
642 B
Plaintext
Executable File

pload QAcommands
puts "======="
puts "OCC822"
puts "======="
puts ""
#####################################
## BRepMesh_IncrementalMesh fails on some faces
#####################################
## (old topology)
#####################################
if { [ catch { set info_result [OCC822_2 a1 a2 result 0] } ] } {
puts "Faulty OCC822"
} else {
if { [regexp {FAILED} $info_result] } {
puts "Faulty OCC822"
}
set ExplodeList [explode result]
if {[llength ${ExplodeList}] < 1} {
puts "Faulty OCC822"
}
}
checkprops result -s 61963.5
checkshape result
checkview -display result -3d -path ${imagedir}/${test_image}.png