dactyl-manuform/create-models.sh
2017-04-02 14:20:12 -04:00

20 lines
861 B
Bash

lein run src/dactyl_keyboard/dactyl.clj
cp things/right.scad things/right-4x5.scad
cp things/left.scad things/left-4x5.scad
cp things/right-plate.scad things/right-4x5-plate.scad
openscad -o things/right-4x5.stl things/right-4x5.scad &
openscad -o things/left-4x5.stl things/left-4x5.scad &
openscad -o things/right-4x5-plate.dxf things/right-4x5-plate.scad &
# git add things/*-4x5.stl
# git add things/right-4x5-plate.dxf
# git commit -m "Add CAD files"
git checkout 5x6
lein run src/dactyl_keyboard/dactyl.clj
cp things/right.scad things/right-5x6.scad
cp things/left.scad things/left-5x6.scad
cp things/right-plate.scad things/right-5x6-plate.scad
openscad -o things/right-5x6.stl things/right-5x6.scad &
openscad -o things/left-5x6.stl things/left-5x6.scad &
openscad -o things/right-5x6-plate.dxf things/right-5x6-plate.scad &
git checkout mine/master