scad-clj icon indicating copy to clipboard operation
scad-clj copied to clipboard

packaged as cmdline tool

Open leshy opened this issue 1 year ago • 0 comments

note for others if useful, I wanted an easy way to run this as a command line code preprocessor

https://github.com/leshy/scad-clj-cli

packaged as nix package

echo "(cube 10 10 10)" > test.clj
nix run github:leshy/scad-clj-cli# test.clj
nix run github:leshy/scad-clj-cli# test.clj | openscad - -o output.png

(note claude held my hand here, not much clojure/nix experience)

leshy avatar Dec 27 '24 09:12 leshy