mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-10 20:43:39 +08:00
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
31 lines
667 B
Plaintext
Executable File
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
|
|
|