2017-03-31 | Paul Boddie | raw annotate files changeset graph | Added options to configure the back socket arrangement, any holes in the back piece for securing the pieces, and for adjustment of the hole radius. |
1 #!/bin/sh 2 3 VERSION=$1 4 5 if [ ! "$VERSION" ]; then 6 cat 1>&2 <<EOF 7 Need a version to retrieve from the history. Maybe try one of the following: 8 9 EOF 10 hg tags 1>&2 11 exit 1 12 fi 13 14 hg cat -r "$VERSION" cartridge.scad \ 15 | sed 's/module cartridge/module cartridge_old/;s/cartridge()/cartridge_old()/' \ 16 > cartridge-old.scad