[Bf-committers] properties per datablock & python

Campbell Barton ideasman42 at gmail.com
Sat May 17 19:12:19 CEST 2008


Hi Jonathan, Joeedh wrote a GUI property editor in python that can be
accessed from the help menu.
I hope to work on a property browser that includes an ID property
editor, if nobody else gets in before me ;-)
- Cam

On Sat, May 17, 2008 at 4:27 PM, Jonathan-David SCHRODER
<myselfhimself at free.fr> wrote:
> Hi
> this is to say that I've found info on :
> http://wiki.blender.org/index.php/BlenderDev/ID_Property
> and as to the standards, on :
> http://wiki.blender.org/index.php/BlenderDev/PropertyStandards
> this dates back to november 2006.
> people (I think Joeedh has been the only editor for now, from what the page
> history says) have even added an artist meta data empty link ( page to be
> written by someone)
>
> jonathan
>
>
> On Sat, May 17, 2008 at 2:47 PM, Jonathan-David SCHRODER
> <myselfhimself at free.fr> wrote:
>>
>> 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
>
>
> --
> http://www.jaxtr.com/myselfhimself
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
>


More information about the Bf-committers mailing list