Changes between Version 4 and Version 5 of SphericalHarmonics


Ignore:
Timestamp:
Aug 31, 2020, 4:39:53 PM (6 years ago)
Author:
goddard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SphericalHarmonics

    v4 v5  
    8787
    8888}}}
     89
     90== Combining surfaces into a single model ==
     91
     92The above code could be modified to place several spherical harmonic surfaces in one model.  The vertices, normals, triangles and colors for each surface can be combined into one with
     93
     94{{{
     95    geom = [(va1,na1,ta1,ca1), (va2,na2,ta2,ca2), ...]
     96    from chimerax.surface import combine_geometry_vntc
     97    va,na,ta,ca = combine_geometry_vntc(geom)
     98}}}