[OpenSCAD] Sharing: Dump echo output to a file

Jerry Davis jdawgaz at gmail.com
Fri May 1 13:31:10 EDT 2015


On Fri, May 1, 2015 at 9:58 AM, runsun <runsun at gmail.com> wrote:

> openscad <scad_file> -o dump.stl -D "<commands_to_execute>" 2>
> <output_file>
>


how about this?

openscad testthingie.scad -o junk.stl 2>&1 >/dev/null | sed 's/ECHO: "//' |
sed 's/"$//' > outfile

Jerry

--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Arduino developer


*The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".*- Isaac. Asimov

*I*
*f you give someone a program, you will frustrate them for a day; if you
teach them how to program, you will frustrate them for a lifetime. *-
Anonymous


*If writing good code requires very little comments, then writing really
excellent code requires no comments at all!*- Ken Thompson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20150501/c0771d5c/attachment-0002.html>


More information about the Discuss mailing list