[Bf-python] python mathutils radians bug decision

Joseph Gilbert jgilbert at tigr.ORG
Thu Jan 4 15:20:30 CET 2007


The extremely old bug can be resolved by having Object.getEuler() and  
Object.setEuler() return degrees. Currently the results from these methods  
are garbage. i.e. These 2 methods are broken. They are taking radians from  
the underlying object and returning them as 'degrees' without a conversion.

The reason this has never been fixed is because the entire mathutils  
library needs to be converted to using/returning radians. I *cough* agree  
with stivs that the mathutils library should have been implemented using  
radians. The main reason being that the python math library uses radians  
(as most math libraries do) as input. I don't see why the open bug report  
can't be closed (by fixing the above methods to return degrees) and then  
the radians issue be added as a api v2 feature. There is no immediacy for  
radians conversion (other than it is the more correct way of working with  
angles).

Joseph
On Wed, 03 Jan 2007 22:43:46 -0500, Tom M <letterrip at gmail.com> wrote:

> In this report,
>
> https://projects.blender.org/tracker/index.php?func=detail&aid=3362&group_id=9&atid=125
>
> Ken said,
>
> "Part (or all) of the real solution was converting Mathutils to use
> radians; is this what we're prepared to do?"
>
> So yes or no? or wait one more release?
>
> LetterRip
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the Bf-python mailing list