Script for drawing all registration marks
This commit is contained in:
parent
479e9f5207
commit
45af6406da
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue