Hi Björn,
The command you're issuing,
> cmd.pseudoatom('grid', pos=[i,j,k], color='white')
is asking PyMOL to create an object called 'grid' -- which on
subsequent calls will just append the pseudoatoms to original 'grid'
object created from the first call. If you want, say 10, individual
objects then please try specifying original objects names:
for x in range(10):
cmd.pseudoatom('grid'+str(x), pos=[i,j,k], color='white')
This will create objects "grid0", "grid1", ..., "grid9" as separate objects.
Cheers,
-- Jason
On Fri, Dec 3, 2010 at 4:11 AM, Bjoern-oliver Gohlke
<[email protected]> wrote:
> Hi,
>
> I would like to generate a bounding box (grid) of pseudoatoms.
> I do this by the following command:
>
> cmd.pseudoatom('grid', pos=[i,j,k], color='white')
>
> My problem is, that from step to step, the algorithm slow down. I
> think that in each step pymol build up a new object. But he should
> only expand the object with the next pseudoatom.
> Know anybody a way to fix this problem?
>
> Thanks,
> Björn
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> PyMOL-users mailing list ([email protected])
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/[email protected]
--
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC
(e) [email protected]
(o) +1 (603) 374-7120
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]