Ticket #6243: test_mesh.py

File test_mesh.py, 522 bytes (added by Tom Goddard, 4 years ago)

Test combined speed contouring and showing meshes.

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