Files
OCCT/tests/bugs/xde/bug321
abv 2857a8acd8 0023561: stepwrite and brepiges dont work with big path (over 150 simbols) of writing file
DRAW commands stepwrite and brepiges modified to never ask for interactive input of file name or write mode; the behavior is completely defined by input arguments. String buffers causing access violation due to overflow are eliminated.

Test case bugs xde bug23561 added for this issue; TODO 23651 in related test cases removed.

Compiler warning (unrelated) is fixed in QABugs_11.cxx
2012-12-07 13:50:06 +04:00

31 lines
667 B
Plaintext
Executable File

set os $env(os_type)
puts "========"
puts "OCC321"
puts "========"
puts ''
##############################################################
##Crash during importation of IGES file on SUN, on other platforms message
## "Syntax error during importation"
##############################################################
stepread [locate_data_file OCC321.stp] a *
tpcompound a
puts [checkshape a]
puts [checkshape a r]
######################################################################
catch {exec rm ${imagedir}/OCC321.iges}
brepiges a ${imagedir}/OCC321.iges
dall
igesbrep ${imagedir}/OCC321.iges b *
tpcompound result
puts [checkshape result]
set 2dviewer 0