dactyl-manuform-5-7/create-models.sh

43 lines
1.9 KiB
Bash
Raw Normal View History

2017-04-02 17:54:39 +00:00
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
2017-04-02 21:23:39 +00:00
openscad -o things/right-4x5-plate.dxf things/right-4x5-plate.scad >/dev/null 2>&1 &
2017-04-02 19:00:42 +00:00
openscad -o things/right-4x5.stl things/right-4x5.scad >/dev/null 2>&1 &
openscad -o things/left-4x5.stl things/left-4x5.scad >/dev/null 2>&1 &
2017-04-02 21:31:59 +00:00
patch -p1 < 4x6.patch
lein run src/dactyl_keyboard/dactyl.clj
cp things/right.scad things/right-4x6.scad
cp things/left.scad things/left-4x6.scad
cp things/right-plate.scad things/right-4x6-plate.scad
openscad -o things/right-4x6-plate.dxf things/right-4x6-plate.scad >/dev/null 2>&1 &
openscad -o things/right-4x6.stl things/right-4x6.scad >/dev/null 2>&1 &
openscad -o things/left-4x6.stl things/left-4x6.scad >/dev/null 2>&1 &
git checkout src/dactyl_keyboard/dactyl.clj
2017-04-02 21:11:17 +00:00
patch -p1 < 5x6.patch
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
2017-04-02 21:23:39 +00:00
openscad -o things/right-5x6-plate.dxf things/right-5x6-plate.scad >/dev/null 2>&1 &
openscad -o things/right-5x6.stl things/right-5x6.scad >/dev/null 2>&1 &
openscad -o things/left-5x6.stl things/left-5x6.scad >/dev/null 2>&1 &
2017-04-02 21:01:09 +00:00
git checkout src/dactyl_keyboard/dactyl.clj
2017-04-02 21:31:59 +00:00
patch -p1 < 6x6.patch
lein run src/dactyl_keyboard/dactyl.clj
cp things/right.scad things/right-6x6.scad
cp things/left.scad things/left-6x6.scad
cp things/right-plate.scad things/right-6x6-plate.scad
openscad -o things/right-6x6-plate.dxf things/right-6x6-plate.scad >/dev/null 2>&1 &
openscad -o things/right-6x6.stl things/right-6x6.scad >/dev/null 2>&1 &
openscad -o things/left-6x6.stl things/left-6x6.scad >/dev/null 2>&1 &
git checkout src/dactyl_keyboard/dactyl.clj
2017-04-02 18:18:26 +00:00
# git add things/*-4x5.stl
# git add things/right-4x5-plate.dxf
# git commit -m "Add CAD files"
2017-04-02 19:00:42 +00:00
wait