mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-15 11:44:07 +03:00
24 lines
402 B
Plaintext
Executable File
24 lines
402 B
Plaintext
Executable File
|
|
puts "========"
|
|
puts "OCC256"
|
|
puts "========"
|
|
|
|
restore [locate_data_file OCC256.brep] result
|
|
puts [checkshape result]
|
|
|
|
tclean result
|
|
vinit
|
|
vdisplay result
|
|
vsetdispmode result 1
|
|
vfit
|
|
|
|
set info [trinfo result]
|
|
regexp { +([-0-9.+eE]+) +triangles} $info full tri
|
|
regexp { +([-0-9.+eE]+) +nodes} $info full nod
|
|
|
|
if { $tri != 66 && $nod != 66 } {
|
|
puts "Error : here is shading problem"
|
|
}
|
|
|
|
set 3dviewer 0
|