What is Nostr?
Kyle Davis /
npub13vk…wmav
2023-12-20 22:24:07

Kyle Davis on Nostr: TIL: You can pipe code into #OpenSCAD by supplying a `-` as the source file. Pretty ...

TIL: You can pipe code into #OpenSCAD by supplying a `-` as the source file. Pretty standard unix thing, but it's not well documented for OpenSCAD. stdout is in the wiki and help text, but stdin doesn't seem to be. See the PR from a few years ago linked below.

With this knowledge, I'm building something either great or unholy: not sure.

`curl http://localhost:8000/assemblies/thing_1.scad | openscad -o thing_1.stl -`

https://github.com/openscad/openscad/pull/3407
Author Public Key
npub13vkju23uef2rgkca9j5e8q2mcscn07gm0nrjktdaefqz639l48uscswmav