[PyMOL] Ray Trace Triangles

2010-07-09 Thread Sean Law
Hi PyMOLers, I have been tackling this problem (on and off) for quite some time now but without any luck. I have been trying to create CGO triangles using the following simple sample script: ### from pymol.cgo import * from math import * from pymol import

Re: [PyMOL] Ray Trace Triangles

2010-07-09 Thread Robert Campbell
Hi Sean, On Fri, 09 Jul 2010 11:05:09 -0400 Sean Law magic...@hotmail.com wrote: I have been tackling this problem (on and off) for quite some time now but without any luck. I have been trying to create CGO triangles using the following simple sample script:

[PyMOL] how to run a python script

2010-07-09 Thread Vivek Ranjan
Hello, I am trying to run a simple python script from Pymol and cannot run it: *** # axes.py from pymol.cgo import * from pymol import cmd from pymol.vfont import plain # create the axes object, draw axes with cylinders coloured red, green, #blue for X, Y and Z obj =

[PyMOL] FYI: Compiling Pymol 1.3 (svn trunk) on Mac OS X Snow Leopard

2010-07-09 Thread Paul Rigor (uci)
Hi gang, Just wanted to share some notes on compiling and getting Pymol 1.3.x running on OS X Snow Leopard. Before proceeding, you'll of course need the XCode SDK which comes supplied with the OS X cd's or downloaded through apple's developer site. (1) Compilation: For some reason, the

Re: [PyMOL] how to run a python script

2010-07-09 Thread Paul Rigor (uci)
Hi, Your assumptions are correct, as I've copied and tested your code, which works fine from the current working directory where I ran the pymol start script. It's probably a quirk w/ your installation? Otherwise, you can just specify the full path to your script or cd into the folder... either

[PyMOL] cctbx

2010-07-09 Thread Vivek Ranjan
Hello, I downloaded a pymol script from http://pldserver1.biochem.queensu.ca/~rlc/work/pymol/ called draw_cell.py. I have Python 2.6.5, numpy version: 1.3.0, I downloaded cctbx for unix (self extracting files) and installed cctbx in my $HOME/bin/. I have also included the line (.

Re: [PyMOL] how to run a python script

2010-07-09 Thread Vivek Ranjan
Thanks for your mail. I did two things: (i) typed the entire path starting from /home/../../draw_cell.py (ii)cd /home/../../ and then run draw_cell.py. It still gives me the same error of not finding cctbx. I checked if I am in the correct directory by typing pwd and got the correct answer. When

Re: [PyMOL] FYI: Compiling Pymol 1.3 (svn trunk) on Mac OS X Snow Leopard

2010-07-09 Thread Marius Retegan
Did you try the macports (http://www.macports.org/) version? Marius On Fri, Jul 9, 2010 at 10:10 PM, Paul Rigor (uci) paul.ri...@uci.eduwrote: Hi gang, Actually, I spoke too soon! I attempted this compilation to address another user's problems with an external script. But as you can see from

Re: [PyMOL] FYI: Compiling Pymol 1.3 (svn trunk) on Mac OS X Snow Leopard

2010-07-09 Thread Paul Rigor (uci)
Hi Marius, So I grabbed Pymol through macports, but now the main control window isn't being rendered. I also receive the following error message. I've truncated the error message. I know that macports resolved the tk/tcl dependencies, so I'm not sure what's up? Has anyone else run into this

Re: [PyMOL] FYI: Compiling Pymol 1.3 (svn trunk) on Mac OS X Snow Leopard

2010-07-09 Thread Marius Retegan
This usually means that tk or tcl is not installed correctly. You could try to google the error. This gives you an idea about the problem 99% of the cases. Also you can double check that everything is installed. $ port installed tk tcl pymol. On a macosx 10.5.8 I get: pymol @1.3_0 (active) tcl