Difference between revisions of "Spheres"
Jump to navigation
Jump to search
(Remove shader section (has been default for quite some time)) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Image:Spheres_ex.png|thumb|Normal Sphere Representation Example|center]] | + | [[Image:Spheres_ex.png|thumb|right|Normal Sphere Representation Example|center]] |
==Representation== | ==Representation== | ||
Line 5: | Line 5: | ||
show spheres, SEL | show spheres, SEL | ||
− | == | + | ==Adjusting Sphere Size== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="python"> | <source lang="python"> | ||
− | + | alter selection, vdw=number | |
</source> | </source> | ||
− | + | ||
+ | ===Examples=== | ||
+ | Shrink the size of all Iron atoms: | ||
<source lang="python"> | <source lang="python"> | ||
− | + | alter elem fe, vdw=1.0 | |
+ | rebuild | ||
</source> | </source> | ||
− | + | ||
− | + | Dramatically enlarge all spheres in an object | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="python"> | <source lang="python"> | ||
− | + | alter object, vdw=4.0 | |
+ | rebuild | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
[[Category:Representations|Spheres]] | [[Category:Representations|Spheres]] | ||
+ | [[Category:Performance]] |
Latest revision as of 17:02, 25 July 2023
Representation
To enable the spheres representation do the following for any selection SEL,
show spheres, SEL
Adjusting Sphere Size
alter selection, vdw=number
Examples
Shrink the size of all Iron atoms:
alter elem fe, vdw=1.0
rebuild
Dramatically enlarge all spheres in an object
alter object, vdw=4.0
rebuild