[Bf-python] NMesh Module , could you add an index parameter to the NMFace object ?

Campbell Barton cbarton at metavr.com
Sat Aug 13 04:06:06 CEST 2005


Hi Joseph,
1)
 'makeTrackQuat' - do you mean? "ToQuaternion (returns the quaternion 
rotation corresponding to the vector with Track and Up axis)"?
Its a fairly usefull function to convert a vector to a rotation, say you 
might want to point a camera at an object in python,
3) Agreed.

- Cam



\Joseph Gilbert wrote:

> Campbell Barton wrote:
>
>> Hi Joseph, is there any way I can speed up the Mathutils patches 
>> getting into Blender?
>
>
> Sure i accept bribes.
>
>> I know this is a selfish request, but theeth wrote this patch for me 
>> about 3 months ago. and at the moment I have to use python to do ray 
>> intersections, tri area etc,
>
>
> A couple things:
> 1. I dont understand what the general purpose of 'makeTrackQuat' - is 
> this only for someone's script or a general purpose method. Is there 
> an instance where a script writer would need to make a tracking 
> quaternion? (just trying to understand this)
> 2. I was working for a long time on a set of classes that would 
> incorporate this stuff which i have not finished yet, and I thought i 
> would be able to incorporte this into that model (which was part of 
> the delay) rather than adding this to that api and then reworking it 
> (i.e. deprecating it) later. However, i dont think i'm going to have 
> the time to do this.
> 3. Just some formating issues which are really moot, such as making 
> these methods a class member rather than a module funciton. e.g. 
> vector.intersect(vector) which is more natural rather than 
> Mathutils.Intersect(vec, vec)
>
> I am busy in both the rw and in recoding the animation api right now 
> and i admit i haven't spent enough time to look at this. I appreciate 
> the time theeth and yourself put into making this patch and like i 
> said this *will* get in there. Have hope! A better blender is just 
> around the corner.
>
>>
>> https://projects.blender.org/tracker/index.php?func=detail&aid=2573&group_id=9&atid=127 
>>
>>
>> - Cam
>>
>>> I'm not saying it's a bad idea. Its probably a good idea :) However,
>>> patches and requests have a tendency to get lost on the mailing 
>>> list. If
>>> they are in the tracker we have a record of them and *will* get worked
>>> on. (*cough* like the new mathutils additions :o)
>>>
>>> -----Original Message-----
>>> From: bf-python-bounces at projects.blender.org
>>> [mailto:bf-python-bounces at projects.blender.org] On Behalf Of
>>> jmsoler at free.fr
>>> Sent: Thursday, August 11, 2005 1:42 PM
>>> To: Blender Foundation Python list
>>> Subject: RE: [Bf-python] NMesh Module ,could you add an index parameter
>>> to the NMFace object ?
>>>
>>> Selon "Gilbert, Joseph" <jgilbert at tigr.ORG>:
>>>
>>>  
>>>
>>>> It would be great if you could add this as an empty entry (no patch)
>>>>   
>>>
>>>
>>> to
>>>  
>>>
>>>> the patch tracker with a description. That way it doesn't get lost kk
>>>> :))
>>>>   
>>>
>>>
>>>
>>> Why not ? There is yet a ".index" in the NVert :
>>> http://www.blender3d.org/documentation/237PythonDoc/NMesh.NMVert-class.h 
>>>
>>> tml
>>>
>>> -jms-
>>> _______________________________________________
>>> Bf-python mailing list
>>> Bf-python at projects.blender.org
>>> http://projects.blender.org/mailman/listinfo/bf-python
>>> _______________________________________________
>>> Bf-python mailing list
>>> Bf-python at projects.blender.org
>>> http://projects.blender.org/mailman/listinfo/bf-python
>>>
>>>
>>>  
>>>
>>
>>
>
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>
>


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241




More information about the Bf-python mailing list