mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
29 lines
498 B
Plaintext
Executable File
29 lines
498 B
Plaintext
Executable File
|
|
puts "========================"
|
|
puts " OCC258 "
|
|
puts "(case 2)"
|
|
puts "========================"
|
|
|
|
restore [locate_data_file shading_144.brep] result
|
|
puts [checkshape result]
|
|
|
|
tclean result
|
|
isos result 0
|
|
vinit
|
|
vdisplay result
|
|
vsetdispmode result 1
|
|
vfit
|
|
triangles result
|
|
|
|
set info [trinfo result]
|
|
regexp { +([-0-9.+eE]+) +triangles} $info full tri
|
|
regexp { +([-0-9.+eE]+) +nodes} $info full nod
|
|
|
|
if { $tri < 70 || $nod < 72 } {
|
|
puts "Error (case 2) : here is shading problem"
|
|
}
|
|
|
|
set 3dviewer 0
|
|
|
|
|