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

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