Reorganize model files

This commit is contained in:
Nettika 2025-10-09 12:22:47 -07:00
parent 71b5382544
commit 5210c0a5e6
6 changed files with 18 additions and 12 deletions

16
models/justfile Normal file
View file

@ -0,0 +1,16 @@
parts := "cartridge receptacle"
default: build
build:
#!/bin/sh
for part in {{parts}}; do
echo "Rendering $part..."
just render-part $part
done
render-part part:
#!/bin/sh
echo 'use <{{part}}.scad>; $fn = 128; {{part}}();' > part.scad
openscad --backend Manifold -o {{part}}.stl part.scad
rm part.scad