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/bug630
abk 65b387bd75 Draw command 'EnsureTolRule' was replaced by command 'updatetolerance' in
tests.

Draw command 'EnsureTolRule' was removed.
2013-03-06 15:04:42 +04:00

27 lines
677 B
Plaintext
Executable File

puts "================"
puts "OCC630"
puts "================"
puts ""
########################################################
## DRAW hungs up at the attempt to restore solid previously saved in STEP format
########################################################
restore [locate_data_file OCC630.brep] a1
updatetolerance a1
checkshape a1
######################################################################
file delete ${imagedir}/solid.stp
stepwrite a a1 ${imagedir}/solid.stp
dall
if [catch {stepread ${imagedir}/solid.stp a2 * } res] {
puts "Faulty OCC630: here is reading problem"
} else {
tpcompound result
checkshape result
set 2dviewer 0
}