Scripts for Amira
this Amira scipt-object collection is the result of a "little" sideproject of my diploma thesis at the Department of Theoretical Biology at the University of Vienna. For working with Amira script-objects it is advisable to make a local amira directory (look in the online Amira documentation on how to do it). For convenience there is for every script-object a .rc file for integrating the script-object in the Amira context menu (must be copied in the share/resources folder of $AMIRA_LOCAL or $AMIRA_ROOT). Under some circumstances the .rc file has to be adapted at the hosts environment:
- if you have no local amira directory ($AMIRA_LOCAL) and want to copy the .rc file in amira´s root directory, then change the $AMIRA_LOCAL variable to $AMIRA_ROOT
- if you don´t like the name of the menu entry change the argument of the "name" switch in the .rc file
- if you don´t like the submenu entry change the argument of the "category" switch in the .rc file
- The script-object (and all dependent files) must be copied to [$AMIRA_LOCAL|$AMIRA_ROOT]/share/script-objects
If someone has suggestions or questions please let me know and email me
Type the following in terminal:
cd ~/***here comes your download path*** git clone git://github.com/brosensteiner/Scripts_for_Amira.git
IMPORTANT: all modules will use a custom tcl package with shared procedures, so in order to get this script-objects to work one must install this package in a path where tcl searches for packages. You will find this package(s) in my repository (AmiraTclPackages). Probably the easiest way is to append the package path to the "auto_path" variable, so it is possible to have a costum file path. To do this execute the following steps:
- open the Amira.init file ($AMIRA_ROOT/share/resources/Amira/Amira.init)
- add the following line (does´t matter where): lappend auto_path "here stands the path to the package file"
- at the next start of Amira write in the amira console: "echo $auto_path"
- if the output contains your path all is ok :)
sorry, not ready in this early stage, but will be provided in the native Amira documetation format.
MIT License and citeware
Copyright (c) 2012 Bernhard Rosensteiner
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please cite: Bernhard Rosensteiner, A custom Amira Script-Object. "https://github.com/brosensteiner/Scripts_for_Amira", 2012.
When you use one of my Amira script objects in a scientific publication please send me a message about for what and how it was used — i´m curious :)