Ticket #5964: test_mesh.py
File test_mesh.py, 464 bytes (added by , 4 years ago) |
---|
Line | |
---|---|
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 | for level in concatenate((arange(.01,.03,.001), arange(.03,.01,-.001))): |
9 | run(session, 'volume #1 level %.3f ; wait 1' % level, log = False) |