vmd.graphics.sphere

vmd.graphics.sphere()

Draws a sphere

Parameters:
  • molid (int) – Molecule ID to draw on
  • center (3-tuple of float) – (x,y,z) coordinates to center sphere. Defaults to the origin.
  • radius (float) – Sphere radius. Defaults to 1.0
  • resolution (int) – Sphere resolution. Defaults to 6
Returns:

(int) – ID of drawn sphere