1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-01 10:26:12 +03:00
2012-12-05 17:17:05 +04:00

37 lines
895 B
Plaintext
Executable File

puts "========================"
puts " OCC292 "
puts "========================"
puts ""
#################################################################
## Attached face looks as unclosed but command "checkshape" concludes that it is valid. Inspite of that,
## mesh for shading is not creating on this face.
#################################################################
restore [locate_data_file OCC292.brep] result
puts [checkshape result]
tclean result
vinit
vdisplay result
vsetdispmode result 1
isos result 0
triangles result
set tri 0
set nod 0
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 ==6 && $nod == 8} {
puts " Warning: OCC292 looks like OK, but visual checking is required !!!!"
} else {
puts " OCC292 : Faulty"
}
set square 1.3135
set 3dviewer 1