Difference between revisions of "Scripted creation of a project in the Linux command line"
Line 1: | Line 1: | ||
− | It is possible to fully run ''Dynamo'' outside of Matlab AND the ''Dynamo'' [[standalone]], as described [[ | + | It is possible to fully run ''Dynamo'' outside of Matlab AND the ''Dynamo'' [[standalone]], as described [[ standalone#For independent commands | here]] |
Here we show how to create from scratch a project. | Here we show how to create from scratch a project. | ||
Line 23: | Line 23: | ||
</code> | </code> | ||
− | Now, you can run this script in a Linux shell (provided you have [[ | + | Now, you can run this script in a Linux shell (provided you have [[ standalone#Activating the standalone | activated]] ''Dynamo'' in it) |
Revision as of 10:50, 22 September 2016
It is possible to fully run Dynamo outside of Matlab AND the Dynamo standalone, as described here
Here we show how to create from scratch a project.
We then create a single script where we write all the commands that we would use interactively to create a project. Use any editor in your system to open a file, let's call it createProject.sh, and input the lines:
dynamo_vpr prtest
dynamo_vpr_put prtest -data ttest/data
dynamo_vpr_put prtest -template ttest/template.em
dynamo_vpr_put prtest -table ttest/initial.tbl
dynamo_vpr_put prtest -mask ttest/mask.em
dynamo_vpr_put prtest -cmask ttest/mask.em
dynamo_vpr_put prtest -fmask ttest/fmask.em
dynamo_vpr_put prtest -smask ttest/mask_smoothing.em
dynamo_vpr_put prtest -ite_r1 2
dynamo_vpr_put prtest -ca_r1 360
dynamo_vpr_put prtest -cs_r1 45
dynamo_vpr_put prtest -dim_r1 32
dynamo_vpr_put prtest -destination standalone
dynamo_vpr_check prtest
dynamo_vpr_unfold prtest
Now, you can run this script in a Linux shell (provided you have activated Dynamo in it)