Re: [Bf-committers] operator for blender

2011-04-26 Thread bartius crouch
If you're talking about doing this in python, there is a very useful code snippet at BA*. It's using old api calls, but the math behind it is still sound. I've successfully used it in Blender 2.5. * http://blenderartists.org/forum/showthread.php?70881-Screen-coordinates-to-World-coordinates&p=6533

Re: [Bf-committers] Console and Text editor proposals

2011-04-26 Thread bartius crouch
> > 1. Why in the world do we need undo for cursor movements? > Although this mailinglist isn't for feature requests, I'd like to stress the first point Damir makes. I use the text-editor a lot and having cursor movements in the undo stack almost feels like a bug to me. ___

Re: [Bf-committers] Camera view navigation rant

2011-04-26 Thread bartius crouch
> Also a lock camera to view option would be great so we can just move > the camera like we move any other viewport Like Campbell said, that isn't very hard to do in python. Below you can find some code for it. Copy the text below into the text-editor, Run Script (alt+P), go to 3d-view, search (sp

Re: [Bf-committers] FW: console window back to appear

2011-05-10 Thread bartius crouch
On Tue, May 10, 2011 at 9:18 AM, Nathan Letwory < nat...@letworyinteractive.com> wrote: > > index visualiser has currently an error, which gets printed to the > console, thus prevents the console from being closed. > Thanks for the report. Just committed a fix to SVN for the index visualiser add-

Re: [Bf-committers] bpy callback patch (replace scriptlink like functionality from 2.4x)

2011-06-24 Thread bartius crouch
Since I'm not familiar with Blender's C source, I can't comment on the way the patch is written. But as an end-user the proposed method sounds like a good solution. The callbacks aren't associated with specific datablocks, but since the context and the ID data can be accessed in the callback functi

Re: [Bf-committers] bridging faces algorithm

2011-09-07 Thread bartius crouch
On Wed, Sep 7, 2011 at 4:58 PM, Peter K.H. Gragert wrote: > Look at the looptool: Bridge! That's probably not a very good idea, as I mainly tweaked the bridging to give proper results with often used situations. There isn't any real algorithm behind it, only some nonlinear least squares methods.

Re: [Bf-committers] Change Representation and Initialisation of Matrices to Conform with Standard Notation

2011-12-09 Thread bartius crouch
Hello Andrew, Even though this change might be for the better, it has the potential to break existing scripts. There already was a change in the vector/matrix multiplication order some months ago, and the result was that a lot of users complained about broken scripts. I have to admit that I might

Re: [Bf-committers] Blender App Central / Add-on Manager

2012-01-10 Thread bartius crouch
On Mon, Jan 9, 2012 at 10:42 PM, Campbell Barton wrote: > Personally I'd like whatever system we use to be a front-end to source > control (so devs commit our extension repo and magically get listed) The proposal made by Moraes is very interesting imho. And most of the information is already avai

Re: [Bf-committers] Numpy integration

2012-04-23 Thread bartius crouch
Hi, Voicing in as an add-on writer: access to a least square solver would be highly appreciated. It could simplify and speed-up the LoopTools script. So ideally option 1, but more realistically (taking size into consideration): option 2 will do. Best, Bart (Crouch) On Mon, Apr 23, 2012 at 11:37

[Bf-committers] Improving add-ons panel

2010-03-10 Thread bartius crouch
When a user has a lot of scripts in his add-ons folder, the add-ons panel (in User Preferences) will become messy. After asking ideasman42 about it I wrote an improved user interface script, which reorganises the panel. It adds filtering and search functionality, as well as the ability to display e

Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33462] trunk/blender/source/blender/ python/intern/bpy_rna.c: disallow setting RNA attributes while drawing, this is bad practice

2010-12-08 Thread bartius crouch
Hi Campbell, What might be helpful is to have an example of recommended practice. Speaking for myself: right now it's often a matter of experimentation to get things to work and this might result in solutions that depend on bad practice. For example, if you wish your add-on to display a panel wit

Re: [Bf-committers] Possibility to create custom color-ramp properties / UI

2010-12-13 Thread bartius crouch
Basically we're restricted to the classes that are subclassed from the id-type*. In the past I've had the need for assigning custom properties to vertices, but that isn't supported either. If I remember correctly, the reason is that it would make blender's internals clunky if every type supported c

Re: [Bf-committers] python mathutils api update proposal

2011-02-03 Thread bartius crouch
Good proposal. I especially like the part on separating Modify In-Place Methods. Cheers, Bart (Crouch) On Thu, Feb 3, 2011 at 7:08 PM, Martin Poirier wrote: > Those mathematical operations aren't defined on eulers triplets. > > Unless you really really know what you are doing, use quats or matr

Re: [Bf-committers] Calling operators when drawing a panel

2011-02-07 Thread bartius crouch
> > Campbell wrote: > > You have a valid point that we need python integration: > IMHO scripts should be able to handle notifiers and ability to define > update functions for python defined properties. > > Python defined update functions I can do but handling notifiers should > be discussed with T

Re: [Bf-committers] Python callbacks and keeping properties in sync

2011-03-30 Thread bartius crouch
On Wed, Mar 30, 2011 at 4:23 PM, Wenzel Jakob wrote: > Hello Ton and Doug, > > Campbell requested to put use cases at the bottom of his Wiki page > (http://wiki.blender.org/index.php/User:Ideasman42) so that a list of > requirements can be made. > Thanks for the heads-up, I've added a comment on

Re: [Bf-committers] Blender IRC meeting

2011-04-04 Thread bartius crouch
On Mon, Apr 4, 2011 at 4:29 AM, Campbell Barton wrote: > 3) polluting custom properties. > I just discussed this with Campbell on irc and I'll implement his suggestion to store the cache in the python module, so as not to pollute the custom properties. New version of the script should be availabl

Re: [Bf-committers] Blender IRC meeting

2011-04-04 Thread bartius crouch
The looptools script has been updated to store the cache in the python module instead of a custom property. New version (3.2) is now in contrib SVN of the extensions project. ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.or