| 1 | # Benchmark changes in mesh edge calculation.
|
|---|
| 2 | # Have to hide file history before running this script or no rendering done.
|
|---|
| 3 | from chimerax.core.commands import run
|
|---|
| 4 | from numpy import arange, concatenate
|
|---|
| 5 | run(session, 'open 12873 from emdb')
|
|---|
| 6 | run(session, 'light simple')
|
|---|
| 7 | run(session, 'volume #1 step 1 style mesh level .01')
|
|---|
| 8 | #run(session, 'volume #1 step 1 style surface level .01')
|
|---|
| 9 | for level in concatenate((arange(.01,.03,.001), arange(.03,.01,-.001))):
|
|---|
| 10 | run(session, 'volume #1 level %.3f ; wait 1' % level, log = False)
|
|---|