VMD-L Mailing List
From: Remya Ann (remya.mathewskl_at_gmail.com)
Date: Tue May 10 2016 - 07:29:02 CDT
- Next message: Felipe Merino: "Re: Rendering usong Tachyon with Tcl scripting"
- Previous message: Sourav Ray: "Random placement of molecules within a defined region"
- Next in thread: Felipe Merino: "Re: Rendering usong Tachyon with Tcl scripting"
- Reply: Felipe Merino: "Re: Rendering usong Tachyon with Tcl scripting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
Im trying to render out an image using render Tachyon command in a .tcl file
set sel [atomselect top {name F}]
$sel set radius 1.3
set sel1 [atomselect top {name He}]
$sel1 set radius 1.261
axes location off
display shadows on
display ambientocclusion on
display resize 7000 7000
display reposition 3000 3000
render Tachyon [format file1.dat]
"/usr/local/lib/vmd/tachyon_LINUX" file1.dat -format TARGA -res 2000 2000
-o file1.tga
I get an error as follows for the above commands I use. But when I copy the
last line ("/usr/local/lib/vmd/tachyon_LINUX" file1.dat -format TARGA -res
2000 2000 -o file1.tga) and run it separately in the tk console window it
works.
invalid command name "/usr/local/lib/vmd/tachyon_LINUX"
invalid command name "/usr/local/lib/vmd/tachyon_LINUX"
while executing
""/usr/local/lib/vmd/tachyon_LINUX" file1.dat -format TARGA -res 2000 2000
-o file1.tga"
(file
"/home/samdavid/REMYA/2d/rcut0.5/25/cluster/af0.8/ep9/25_af0.8_ep9_1069055/chain.tcl"
line 12)
invoked from within
"source
/home/samdavid/REMYA/2d/rcut0.5/25/cluster/af0.8/ep9/25_af0.8_ep9_1069055/chain.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 {source
/home/samdavid/REMYA/2d/rcut0.5/25/cluster/af0.8/ep9/25_af0.8_ep9_1069055/chain.tcl}"
invoked from within
"interp eval $slave uplevel \#0 $args"
(procedure "::tkcon::InterpEval" line 10)
invoked from within
"EvalAttached [list source $fn]"
(procedure "::tkcon::Load" line 11)
invoked from within
"::tkcon::Load"
invoked from within
".tkcon.#tkcon#mbar.#tkcon#mbar#file invoke active"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke active]"
(procedure "tk::MenuInvoke" line 50)
invoked from within
"tk::MenuInvoke .tkcon.#tkcon#mbar.#tkcon#mbar#file 1"
(command bound to event)
I would like to know whether the render command (last line) can work in a
.tcl file as above without having to run in it in console window everytime.
Regards,
Remya
- Next message: Felipe Merino: "Re: Rendering usong Tachyon with Tcl scripting"
- Previous message: Sourav Ray: "Random placement of molecules within a defined region"
- Next in thread: Felipe Merino: "Re: Rendering usong Tachyon with Tcl scripting"
- Reply: Felipe Merino: "Re: Rendering usong Tachyon with Tcl scripting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]