Hello developers,
I went several times thru the Doc, and could not find anything related to
this.
The echo function is useful for debug, but would be even better if we could
write to another device (file)
I use echo to keep track of all the parts in my project, but it would be
great If I could create a file of all the echo(), i.e. creating an automatic
BOM.
Is that too much to ask?
OpenSCAD is great, and you guys rock!
Jean-Paul
AC9GH
--
View this message in context: http://forum.openscad.org/Redirect-of-the-console-output-tp12893.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Been discussed several times before. Search this forum.
$ Runsun Pan, PhD
$ -- OpenScad_DocTest: doc and unit test ( Github , Thingiverse )
$ -- hash parameter model: here , here
$ -- Linux Mint 17.1 Rebecca x64 + OpenSCAD 2015.03.15/2015.04.01.nightly
--
View this message in context: http://forum.openscad.org/Redirect-of-the-console-output-tp12893p12902.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
You can do it running from the command line, I don't think it can be done in
the GUI.
On windows, I do this :
"C:\Program Files\OpenSCAD\openscad.exe"
"c:\github\openscad\examples\Old\example001.scad" -o test.csg 2>out.txt
at a command prompt to get the output. You might need to adjust the paths,
but the important bits are "2>" to redirect stderr to the file and "-o
test.csg" to stop the GUI launching.
I expect something similar works for Unix.
--
View this message in context: http://forum.openscad.org/Redirect-of-the-console-output-tp12893p12903.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Thank you Bob. I am running on a macbook (OS X Yosemite), and I will try to figure out
how to do that in a terminal window.
Jean-Paul
AC9GH
On Jun 16, 2015, at 2:09 PM, bobc bobcousins42@googlemail.com wrote:
You can do it running from the command line, I don't think it can be done in
the GUI.
On windows, I do this :
"C:\Program Files\OpenSCAD\openscad.exe"
"c:\github\openscad\examples\Old\example001.scad" -o test.csg 2>out.txt
at a command prompt to get the output. You might need to adjust the paths,
but the important bits are "2>" to redirect stderr to the file and "-o
test.csg" to stop the GUI launching.
I expect something similar works for Unix.
--
View this message in context: http://forum.openscad.org/Redirect-of-the-console-output-tp12893p12903.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org