Reorganize model files
This commit is contained in:
parent
71b5382544
commit
5210c0a5e6
6 changed files with 18 additions and 12 deletions
16
models/justfile
Normal file
16
models/justfile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue