From 45af6406dada477c21dce9208dd9c793d6789d50 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Sat, 11 Feb 2023 19:21:38 -0500 Subject: [PATCH] Script for drawing all registration marks --- registration.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 registration.sh diff --git a/registration.sh b/registration.sh new file mode 100644 index 0000000..0795249 --- /dev/null +++ b/registration.sh @@ -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 + +