1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
2012-12-07 16:29:17 +04:00

35 lines
788 B
Plaintext
Executable File

puts "========"
puts "OCC428"
puts "SAM1414"
puts "========"
################################################
## Exception during vizualization on attached shape in application.
## Exception is raised in the package StdPrs.
################################################
restore [locate_data_file OCC428.brep] result
tclean result
vinit
vdisplay result
vsetdispmode result 1
vclear
isos result 0
triangles result
vfit
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 == 5496 && $nod == 5406 } {
puts "Warning OCC428: here is shading problem, but source shape is invalid"
} else {
puts "Warning OCC428: Shading of OCC428 was made, source shape is invalid"
}
set 3dviewer 1