[chimera-dev] _surface.SurfaceModel
Randy Heiland
heiland at indiana.edu
Wed Feb 11 13:46:37 PST 2009
And further... how do I then set:
set_vertex_colors(colors)
set_two_sided_lighting(False)
Better yet, how do I find out what the new methods are & how to use
them? :)
I tried, for example, the following, in vain:
twoSidedLighting(False)
-Randy
On Feb 11, 2009, at 4:24 PM, Tom Goddard wrote:
> Hi Randy,
>
> Surface groups have been renamed as pieces and underscores have been
> removed. So you want
>
> SurfaceModel.addPiece()
>
> Sorry for the trouble caused by the renaming.
>
> Tom
>
>
> Randy Heiland wrote:
>> Hi gang,
>>
>> In trying to finish up my plugin port to the daily/Aqua version of
>> Chimera, I'm confused over the replacement method for what used to
>> be:
>>
>> _surface.Surface_Model.add_group
>>
>> I see that dir(_surface) now has SurfaceModel (without the
>> underscore), but what's the replacement for add_group?
>>
>>>>> dir(_surface.SurfaceModel)
>> ['__class__', '__delattr__', '__destroyed__', '__dict__', '__doc__',
>> '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__',
>> '__reduce_ex__', '__repr__', '__setattr__', '__str__',
>> 'addAssociatedModel', 'addGeometryChangedCallback', 'addPiece',
>> 'associatedModels', 'bbox', 'bsphere',
>> 'callGeometryChangedCallbacks',
>> 'clipPlane', 'clipThickness', 'computeBounds', 'count', 'destroy',
>> 'display', 'frontPoint', 'id', 'intersects', 'material', 'name',
>> 'newPiece', 'openState', 'oslChildren', 'oslIdent', 'oslLevel',
>> 'oslParents', 'oslTestAbbr', 'piecesAreSelectable',
>> 'removeAssociatedModel', 'removeGeometryChangedCallback',
>> 'removePiece', 'selLevel', 'subid', 'surfacePieces', 'useClipPlane',
>> 'useClipThickness']
>>
>>
>> -Randy
>> _______________________________________________
>> Chimera-dev mailing list
>> Chimera-dev at cgl.ucsf.edu
>> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-dev
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20090211/375b8761/attachment.html>
More information about the Chimera-dev
mailing list