i tried torun and old script and now i get an error on PI in 31236
does not recognise it ?
so was there any change to PI
and are there any other little changes like that ?
Thanks
i tried torun and old script and now i get an error on PI in 31236
does not recognise it ?
so was there any change to PI
and are there any other little changes like that ?
Thanks
use e.g.
>>> from math import pi
>>> pi
3.141592653589793
ok i change 2 properties which cannot accept anymore setting!
now only thing left is one of class name is not accepted cause it already registered as sub class
no idea what this one is ?
################
hum the script works in 175 but not in 236!
and i already imported all math module
so weird why it gaves and error on pi but now it’s gone!
and i got other mistake on properties and class name!
any ideas what API changes List werer form 175 version?
i got theses errors
Traceback (most recent call last):
File “C:\Users\RJ\0blend25\0alpha31236\roundedthing1.blend/Text”, line 1353,
n <module>
File “C:\Users\RJ\0blend25\0alpha31236\roundedthing1.blend/Text”, line 1306,
n register
AttributeError: bpy.types.register(…): already registered as a subclass.
location:<unknown location>:-1
location:<unknown location>:-1
hope it can be corrceted
it’s probably something simple but what ?
May be in register section
it bugs on first line
def register():
bpy.types.register(addprimitiveparabola1)
bpy.types.register(addRoundrectangle1)
bpy.types.register(addecuberndbase1)
bpy.types.register(addetrianglerndbase1)
bpy.types.register(addetrianglerndbase2)
bpy.types.register(addhalfcircle2)
bpy.types.register(addetrianglerndbase3)
#bpy.types.register(rotloc1,bpy.types.Operator)
bpy.types.register(infor_Roundedshapespanel1)
space_info.INFO_MT_mesh_add.append(menu_func)
any changes to this register secftion ?
thanks
can someone help to solve this last problem
Thanks
just type this…
myPI = 3.14159
and get on with the coding.
for get the Pi value this wzas cause by another indirect error in debug of sript
it’s been corrected by changing some error on properties it’s now ok
the problem is like shown in post above
in the registerring of class there seems to be some changes now in latest built
but which one ?
thanks