[Bf-committers] properties per datablock & python

Jonathan-David SCHRODER myselfhimself at free.fr
Sat May 17 14:47:24 CEST 2008


Hi,
thanks for your reply,
In this e-mail I ask you design questions on the way you use dbBlender with
properties, and on other things you said in your last email that I did not
understand well.

what kind of info do you store for the ["MySQL"] variable ?
is that a a full python object (ex : a dict)
or just an id string telling which corresponding mysql entry one should
lookup in the db to have more info on the object ?

" but I think that also on this part
(usage of~) "
what do you mean by the usage of ~, do you mean the usage of the ["MySQL"]
property's contents ?

"Since there are not yet that many spacehandlers, I think that is the
only way for now, but whenever spacehandlers get enabled for other
views, I'd imagine that one could extend current editors in
interesting ways."
I have problems understanding what you said. I know what a space handler is.
Did you mean that current python scripts which work with space handlers
(such as, I'm guessing, crystal space's blender integration for example, or
tools to edit mesh in special ways with opengl button overlays in 3d view)
are not numerous enough for now that use&show the "properties" attributes.
And that when more of those script handlers appear, one should start making
a standard way to display & make those properties editable ?

What do you mean by "other views" ?
Do you mean that there could/should one day be the possibility to have space
handlers for the buttons view for example ? So this would enable us to add
custom menus.. ?

jonathan

On Sat, May 17, 2008 at 1:35 PM, Nathan Letwory <jesterking at letwory.net>
wrote:

> On Sat, May 17, 2008 at 2:13 PM, Jonathan-David SCHRODER
> <myselfhimself at free.fr> wrote:
> > Do you also know what projects use this IDGroup:properties python
> > functionnality ? There's just things that look like proposals blending
> into
> > python on the wikibook).
>
> I'm using them for DbBlender to attach some data to help with
> integration of DNA and database. The most important one is the
> ['MySQL'] group at the top-level, but I think that also on this part
> (usage of~) I'll be doing some redesign.
>
> I also use them to hold some properties that help me determine when to
> draw some extra info in 3dview.
>
> Since there are not yet that many spacehandlers, I think that is the
> only way for now, but whenever spacehandlers get enabled for other
> views, I'd imagine that one could extend current editors in
> interesting ways.
>
> /Nathan
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
>


-- 
http://www.jaxtr.com/myselfhimself
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-committers/attachments/20080517/5604695d/attachment.htm 


More information about the Bf-committers mailing list