Spheres: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary |  (Remove shader section (has been default for quite some time)) | ||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| [[Image:Spheres_ex.png|thumb|Sphere Representation Example]] | [[Image:Spheres_ex.png|thumb|right|Normal Sphere Representation Example|center]] | ||
| ==Representation== | |||
| To enable the '''spheres''' representation do the following for any selection SEL, | |||
|  show spheres, SEL | |||
| ==Adjusting Sphere Size== | |||
| <source lang="python"> | |||
| alter selection, vdw=number | |||
| </source> | |||
| ===Examples=== | |||
| Shrink the size of all Iron atoms: | |||
| <source lang="python"> | |||
| alter elem fe, vdw=1.0 | |||
| rebuild | |||
| </source> | |||
| Dramatically enlarge all spheres in an object | |||
| <source lang="python"> | |||
| alter object, vdw=4.0 | |||
| rebuild | |||
| </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
