[Bf-python] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11267] branches/pyapi_devel/source/ blender/python/api2_2x: * Object, made softbodies a seperate type rather then having its variables mised up with object .

Campbell Barton cbarton at metavr.com
Mon Jul 16 13:56:13 CEST 2007


Joe Eagar wrote:
> Davide Vercelli wrote:
>> On 7/15/07, Campbell Barton <cbarton at metavr.com> wrote:
>>   
>>>> Selon Matt Ebb <matt at mke3.net>:
>>>>       
>>>>> Having this in radians just seems like it would be quite awkward, especially
>>>>> when the number you set is completely different to what you see before and
>>>>> after in the UI
>>>>>         
>>> One thing is sure - We do NOT want to mix both.
>>>     
>> How about something like lamp.setSpotSizeDegrees()? I'm not saying
>> that all functions dealing with angles should have two different
>> versions, it would be limited only to those potentially confusing for
>> users.
>>
>> UncleZeiv
>> _______________________________________________
>>   
> That's a much better idea, I think.  However, if we did that people 
> would also want things like Object.setRotationDegrees, etc.  So I don't 
> know if it'd be appropriate.
> 
> Joe

keep in mind were trying to get rid of get/set syntax ;)
so it could be something like

ob.rot.x - current x rotation in rads
ob.rot.xDegrees /xdeg...





More information about the Bf-python mailing list