[Bf-committers] Blender IRC meeting

Campbell Barton ideasman42 at gmail.com
Mon Apr 4 04:29:24 CEST 2011


>From a quick test of these scripts, 3 issues came up, #1 & #2 are not blocking,
but would want to see #3 resolved before inclusion by default.

1) own math lib.
Bevel defines its own simple math functions.
cross2D, dot2D, triangle_normal, axis_angle_to_quat,
rotation_between_vectors_to_quat, intersect, these are defined in
mathutils.

mathutils docs: http://www.blender.org/documentation/250PythonDoc/mathutils.html
va module: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/mesh_bevel/va.py

Unless there is some problem in mathutils that cant be resolved I'd
rather not have scripts having their own math libs.


2) speed.
IMHO python is not well suited to writing mesh tools, at least not
when realtime updates from sliders is expected.
on a 4k poly mesh the bridge tool took ~4-6sec per update on my 'AMD
Phenom II X6 1055T' cpu.

Having tools which are mainly suitable for low poly modeling is fine
but I would rather they not be enabled by default.


3) polluting custom properties.

operator settings, vertex induces , and version info is written into
objects custom properties.

This gives nice user experience but I rather we have a better way to
save operator settings then each tool dumping data into the objects
metadata (especially mesh data). See below.

Since custom properties will be saved permanently in blend files I
think this really needs to go before accepting into trunk addons,
possible solutions are to remove this feature or store cache in the
python module which means at least its not saved into the blend file
and data is local to the module.

Bridge tool metadata from bridging 2 circles:
---
{'Bridge': {'boundaries': 0,
            'derived': 0,
            'input':
'0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63',
            'input_method': 'Bridge',
            'loops': {'0': {'circular': 1,
                            'loop': [31,
                                     30,
                                     29,
                                     28,
                                     27,
                                     26,
                                     25,
                                     24,
                                     23,
                                     22,
                                     21,
                                     20,
                                     19,
                                     18,
                                     17,
                                     16,
                                     15,
                                     14,
                                     13,
                                     12,
                                     11,
                                     10,
                                     9,
                                     8,
                                     7,
                                     6,
                                     5,
                                     4,
                                     3,
                                     2,
                                     1,
                                     0]},
                      '1': {'circular': 1,
                            'loop': [33,
                                     34,
                                     35,
                                     36,
                                     37,
                                     38,
                                     39,
                                     40,
                                     41,
                                     42,
                                     43,
                                     44,
                                     45,
                                     46,
                                     47,
                                     48,
                                     49,
                                     50,
                                     51,
                                     52,
                                     53,
                                     54,
                                     55,
                                     56,
                                     57,
                                     58,
                                     59,
                                     60,
                                     61,
                                     62,
                                     63,
                                     32]}},
            'mapping': 0,
            'single_loops': 0},
 'version': '310'}


On Sun, Apr 3, 2011 at 10:00 PM, Tom M <letterrip at gmail.com> wrote:
> Ton and Campbell,
>
> here are the links to the relevant scripts
>
> https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/mesh_looptools.py
>
> https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/mesh_bevel/
>
> LetterRip
>
> On Sun, Apr 3, 2011 at 10:22 AM, Ton Roosendaal <ton at blender.org> wrote:
>> Hi all,
>>
>> There's two add-ons candidate to be included for 2.47 (bevel,
>> looptools).
>> Campbell would check on it, if that fits well we better have it in RC2
>> though. Will wait for his advice before calling the next build.
>>
>> -Ton-
>>
>> ------------------------------------------------------------------------
>> Ton Roosendaal  Blender Foundation   ton at blender.org    www.blender.org
>> Blender Institute   Entrepotdok 57A  1018AD Amsterdam   The Netherlands
>>
>> On 3 Apr, 2011, at 18:33, Ton Roosendaal wrote:
>>
>>> Hi all,
>>>
>>> 1) 2.57
>>>
>>> - Startup.blend changes: discussed were two defaults:
>>>
>>> Continuous grab: disable as default factory setting. Reasoning: it's
>>> jerky on slow redraws, on fast mouse moves it's losing offset, on
>>> small areas annoying, on headers annoying too (move up or down).
>>> People who like it or already use if have in their startup anyway, but
>>> the regular bugreports about it show it's not a good default.
>>>
>>> Open Image thumbnails for image browse: currently still disabled. It
>>> will crash Blender on any corrupt file in a directory, without
>>> feedback what's wrong. Andrea would like to see it default though,
>>> several bugs have been fixed here and it's more stable than in 2.56.
>>>
>>> - Startup issue: when we move to 2.57, the startup.blend, scripts and
>>> other config files are not read. Users have to manually copy it
>>> over... can we find a nice way to help migrating it? For example
>>> option in the splash to allow this...
>>>
>>> - Meeting agreed on doing another RC (2). We can do final release
>>> within a week then. Ton will send builders official request later
>>> today.
>>>
>>> - Jens Verwiebe is also available for OSX test builds, to assist
>>> Damien.
>>>
>>>
>>> 2) other projects
>>>
>>> - The new buildbot progresses well, for Linux it now even builds
>>> binaries similar to releases. Brecht will help getting a system in
>>> Blender Institute to make builds.
>>> http://builder.blender.org/
>>>
>>> 3) GSoC
>>>
>>> Students can still apply until friday April 8, 1900 UTC. Don't wait
>>> too long!
>>>
>>> -Ton-
>>>
>>> ------------------------------------------------------------------------
>>> Ton Roosendaal  Blender Foundation   ton at blender.org
>>> www.blender.org
>>> Blender Institute   Entrepotdok 57A  1018AD Amsterdam   The
>>> Netherlands
>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell


More information about the Bf-committers mailing list