[Bf-python] Blender.Group

Toni Alatalo antont at kyperjokki.fi
Fri Mar 17 13:28:12 CET 2006


On Friday 17 March 2006 01:39, Ken Hughes wrote:
> >>I was thinking the other day that maybe the Set
> >>Protocol would be a good compromise in handling bitmask flags in Blender.
> But I thought what Cam was proposing here was
> to implement a custom BPy set class/object?  In fact,

i originally thought of Blender.Groups as sets, when first heard about them a 
few months ago. that is why i reacted to Cam's post recalling those thougts.

a couple of days afterwards, yesterday i think, i realized that the usage we 
have actually had for Groups in the Elephants Dream is not like Sets at all.

many of our groups are more like compound objects, like Meta strips in the 
sequencer of Group nodes in the node editor - e.g. a wall in a room can be a 
group. it does not really make sense to be able to do set operations on a 
compound object (e.g. walls in a room dont usually have overlap in members, 
but well) .. but perhaps there are other uses for groups where set operations 
are useful, dunno.

anyhow, after that thinking, it was interesting to hear that Ken had another 
idea.

> why not implement this for Blender versions based on
> Python 2.3 and let versions based on 2.4 use the
> built-in set class?

dunno.

> Ken

~Toni



More information about the Bf-python mailing list