mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03: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
25 lines
429 B
Plaintext
25 lines
429 B
Plaintext
set os $env(os_type)
|
|
|
|
puts "========================"
|
|
puts "BUC60948"
|
|
puts "========================"
|
|
|
|
restore [locate_data_file pump4.brep] a_1
|
|
puts [checkshape a_1]
|
|
|
|
#####################################################################
|
|
catch {exec rm ${imagedir}/buc60948.stp}
|
|
stepwrite a a_1 ${imagedir}/buc60948.stp
|
|
|
|
dall
|
|
|
|
stepread ${imagedir}/buc60948.stp a *
|
|
|
|
tpcompound result
|
|
puts [checkshape result]
|
|
|
|
set 2dviewer 0
|
|
|
|
|
|
|