1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00
Files
occt/tests/bugs/step/bug348_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

32 lines
650 B
Plaintext
Executable File

puts "TODO OCC12345 ALL: Error on Record"
puts "========"
puts "OCC205"
puts "OCC348"
puts "BUC61003"
puts "========"
######################################
## puts "Crash on importing STEP file"
## CS_EXHAUST.stp
######################################
vinit
stepread [locate_data_file BUC61003-2.stp] a *
tpcompound result
checkshape result
vdisplay result
vsetdispmode 1
vfit
set info [trinfo result]
regexp { +([-0-9.+eE]+) +triangles} $info full tri
regexp { +([-0-9.+eE]+) +nodes} $info full nod
if { $tri == 0 || $nod == 0 } {
puts "Error : here is shading problem"
}
checkview -display result -2d -path ${imagedir}/${test_image}.png