Files
OCCT/tests/bugs/moddata_2/bug613_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

26 lines
692 B
Plaintext
Executable File

puts "========================"
puts " OCC613"
puts "(case 2)"
puts "========================"
puts ""
#############################################
## Meshing algo cannot create mesh for faces with internal edges
#############################################
restore [locate_data_file OCC613b.brep] result
tclean result
isos result 0
incmesh result .1
triangles result
set tri_info [trinfo result]
regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
if { $tri == 0 || $nod == 0 } {
puts "Error : Meshing algo cannot create mesh for faces with internal edges "
}
checkview -display result -3d -path ${imagedir}/${test_image}.png