Script for drawing all registration marks

This commit is contained in:
Matt McWilliams 2023-02-11 19:21:38 -05:00
parent 479e9f5207
commit 45af6406da
1 changed files with 29 additions and 0 deletions

29
registration.sh Normal file
View File

@ -0,0 +1,29 @@
#!/bin/bash
###########################
#
# Draws all svgs in a sequence. Starts with a
# fieldguide unless beginning the sequence not
# on the first frame, provided as the second argument.
#
###########################
source ./common.sh
dbSetup
for i in {0..3} ; do
echo "Drawing registration marks ${i}..."
bash position.sh set
ax guides/guide_marks.svg
number=`mktemp`.svg
node ./numbers/ -n "${name}" -o "${number}"
ax "${number}"
rm -f "${number}"
bash position.sh reset
askContinue "Draw next registration marks?" "Drawing next field..."
done