occt: master aa02980d

Author Committer Branch Timestamp Parent
abv abv master 2012-06-28 13:46:43 master 1d03e66d
Affected Issues  0023152: Possibility to have echo of DRAW commands in log file
Changeset 0023152: Possibility to have echo of DRAW commands in log file

Two commands are added in DRAW:

decho: allows switch on/off echo of commands and their results. When echo is on, all commands implemented as OCCT DRAW C procedures will be echoed to standard output, along with their result. This can be useful to trace process of execution of script evaluated by 'source' command.

dlog: implements off-screen log for recording DRAW commands and their output for further processing in Tcl script (mainly for use in automatic tests). Run this command without arguments to get help.
Added ios::sync_with_stdio() call to Draw::BasicCommands.
Correction for compilation on Linux
mod - src/Draw/Draw_BasicCommands.cxx Diff File
mod - src/Draw/Draw_Interpretor.cdl Diff File
mod - src/Draw/Draw_Interpretor.cxx Diff File