Difference between revisions of "Sphere scale"
Jump to navigation
Jump to search
m (added Category Settings) |
(→Syntax) |
||
Line 5: | Line 5: | ||
==Syntax== | ==Syntax== | ||
+ | <source lang="python"> | ||
+ | # set the sphere scale to ''size''. | ||
set sphere_scale, ''size'' | set sphere_scale, ''size'' | ||
+ | # print the current value for sphere_scale | ||
+ | get sphere_scale | ||
+ | </source> | ||
− | ''size'' can be any | + | ''size'' can be any floating point number. Using 0.25 gives a nice balls&sticks representation with both lines and spheres turned on. |
set sphere_scale by itself will revert to default. | set sphere_scale by itself will revert to default. |
Revision as of 02:47, 23 February 2007
Overview
This setting affects the apparent radius of spheres in the sphere representation. Default scale is set to 1.0.
Syntax
# set the sphere scale to ''size''.
set sphere_scale, ''size''
# print the current value for sphere_scale
get sphere_scale
size can be any floating point number. Using 0.25 gives a nice balls&sticks representation with both lines and spheres turned on.
set sphere_scale by itself will revert to default.