[Bf-python] Blender.Group

Ken Hughes khughes at pacific.edu
Thu Mar 16 23:24:20 CET 2006


cpbarton at iinet.net.au wrote:
> See if I cant do it tonight
> Sounds good,
> 
> 
> Quoting Toni Alatalo <antont at kyperjokki.fi>:
> 
> 
>>On Tuesday 14 March 2006 15:03, Martin Poirier wrote:
>>
>>>>behaves like a set and looks like a set, is a set,
>>>
>>>Python/C, there's probably a Set Protocol that you
>>>need to implement (to make BlenderGroup behave as a
>>
>>well i tried to mean that implementing the set protocol is making the thing 
>>behave like a set and look like a set - i guess in principle it is the same 
>>thing in c and py,
>>
>>but do admit that i have not done it in c.
>>
>>
>>>Martin
>>
>>~Toni

Sorry, was out of town so didn't catch this until now.

I was thinking the other day that maybe the Set Protocol would be a good 
compromise in handling bitmask flags in Blender.  It's Pythonic plus it 
lets the user set multiple settings in a single operation.

Ken



More information about the Bf-python mailing list