Skip to content
Snippets Groups Projects
Commit e6dd33ed authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: .DAWN_1.history

	modified:   generate_eps
parent 653f3ba3
No related branches found
No related tags found
1 merge request!20Resolve "Implement Forward Rich"
Pipeline #7605 failed
This commit is part of merge request !20. Comments created here will be created in the context of that merge request.
1.34392e+07 1.34392e+07
90 90
180 180
1
805
0 0
154.62 0
4 0
0
16.4
1 1
0.001 0.001
0 0
......
...@@ -9,8 +9,8 @@ function print_the_help { ...@@ -9,8 +9,8 @@ function print_the_help {
exit exit
} }
FILE_TAG="view1" FILE_TAG="view01"
INPUT_FILE="g4_0000.prim" INPUT_FILE="../../g4_0000.prim"
POSITIONAL=() POSITIONAL=()
...@@ -44,6 +44,7 @@ done ...@@ -44,6 +44,7 @@ done
set -- "${POSITIONAL[@]}" # restore positional parameters set -- "${POSITIONAL[@]}" # restore positional parameters
# Side view
dawncut 1 0 0 1 ${INPUT_FILE} ${FILE_TAG}_temp0.prim dawncut 1 0 0 1 ${INPUT_FILE} ${FILE_TAG}_temp0.prim
dawncut -1 0 0 1 ${FILE_TAG}_temp0.prim ${FILE_TAG}.prim dawncut -1 0 0 1 ${FILE_TAG}_temp0.prim ${FILE_TAG}.prim
dawn -d ${FILE_TAG}.prim dawn -d ${FILE_TAG}.prim
...@@ -55,3 +56,15 @@ gs -o ${FILE_TAG}.pdf -sDEVICE=pdfwrite \ ...@@ -55,3 +56,15 @@ gs -o ${FILE_TAG}.pdf -sDEVICE=pdfwrite \
pdftoppm ${FILE_TAG}.pdf ${FILE_TAG} -png -singlefile -cropbox pdftoppm ${FILE_TAG}.pdf ${FILE_TAG} -png -singlefile -cropbox
# Top view
dawncut 0 1 0 1 ${INPUT_FILE} ${FILE_TAG}_temp0.prim
dawncut 0 -1 0 1 ${FILE_TAG}_temp0.prim ${FILE_TAG}.prim
../../bin/dawn_tweak --theta 270
dawn -d ${FILE_TAG}.prim
ps2pdf ${FILE_TAG}.eps ${FILE_TAG}_top_full.pdf
gs -o ${FILE_TAG}_top.pdf -sDEVICE=pdfwrite \
-c "[/CropBox [51 250 550 590] /PAGES pdfmark" \
-f ${FILE_TAG}_top_full.pdf
pdftoppm ${FILE_TAG}_top.pdf ${FILE_TAG}_top -png -singlefile -cropbox
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment