[Bf-taskforce25] RNA Naming convention

GSR gsr.b3d at infernal-iceberg.com
Wed Dec 3 05:18:52 CET 2008


Hi,
aligorith at gmail.com (2008-12-03 at 1716.27 +1300):
> On Wed, Dec 3, 2008 at 5:10 PM, GSR <gsr.b3d at infernal-iceberg.com> wrote:
> 
> > Hi,
> > ideasman42 at gmail.com (2008-12-03 at 1451.33 +1100):
> > > Could identifier names starting with numbers be forbidden with RNA?,
> > > this is messing up python which cant do
> > >   bpy.curves['MyCurve'].3d = True
> > >
> > > (using setattr works but is ugly syntax)
> >
> > Instead of making it special and as per
> >
> > http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA#Naming_Conventions
> > "Don't shorten names unnecessarily." use three_d instead of 3d (and
> > this example can be used to add the rule that identifiers must start
> > with lower case, for compability).
> 
> Ewwww.... I'd rather go with Campbell's suggestion than use something as
> vulgar as this.

And next time it is not a toggle? What prefix gets added?

GSR
 


More information about the Bf-taskforce25 mailing list