Ivo
2018-03-25 21:57:28 UTC
I'm calculating large-ish arrays in openscad to pass on to another program
and I cannot capture more than 1024 characters.
"openscad.com -o dummy.stl somescript.scad" works and dumps the entire
contents on the command line.
"openscad.com -o dummy.stl somescript.scad | more" will show a truncated
result.
"openscad.com -o dummy.stl somescript.scad > out.txt" will result in a
"out.txt" file with only 1024 characters.
The output of "more" ends with the same character as "out.txt".
Any idea what may be wrong ? Is there maybe a missing flush ?
Cheers, Ivo
--
Sent from: http://forum.openscad.org/
and I cannot capture more than 1024 characters.
"openscad.com -o dummy.stl somescript.scad" works and dumps the entire
contents on the command line.
"openscad.com -o dummy.stl somescript.scad | more" will show a truncated
result.
"openscad.com -o dummy.stl somescript.scad > out.txt" will result in a
"out.txt" file with only 1024 characters.
The output of "more" ends with the same character as "out.txt".
Any idea what may be wrong ? Is there maybe a missing flush ?
Cheers, Ivo
--
Sent from: http://forum.openscad.org/