The properties are defined in the class.
############################################################################
# Parameter Definitiions
############################################################################
def updateFracTreeParameter(self,context):
# This def gets called when one of the tagged properties, in the class below, changes state.
global isBusy
if isBusy == False:
if context != None:
passedScene = context.scene
cf = passedScene.frame_current
print("updateFractal TreeParameter on frame #" + str(cf))
reviewFracTree (cf,passedScene)
class cls_FracTreeParms(bpy.types.PropertyGroup):
'''
n = 7
l = 4*5 # Branch Length
b = 3 # Fork Size
phi = pi/3 * 0.6180469# Turn around branch direction
l_f = 0.6180469 # Scaling factor branch length reciprocal value of golden cut
b_f = 0.6180469 # Scaling factor fork size
phi_f = 1.0 # Scaling factor turn
'''
recursion_count = bpy.props.IntProperty(name="Recursion Count", description="Recursion Count.", default = 7, min = 0, max = 100, update=updateFracTreeParameter)
branch_length = bpy.props.FloatProperty(name="Branch Length", description="Branch Length.", default=20.0, min = 0.1, max = 100.0, update=updateFracTreeParameter)
fork_size = bpy.props.FloatProperty(name="Fork Size", description="Fork Size.", default=3.0, min = 0.1, max = 20.0, update=updateFracTreeParameter)
branch_direction = bpy.props.FloatProperty(name="Branch Direction", description="Turn around branch direction.", default=0.6180469, min = -10.0, max = 10.0, update=updateFracTreeParameter)
scale_branch = bpy.props.FloatProperty(name="Scale Branch", description="Scaling factor branch length reciprocal value of golden cut.", default=0.6180469, min = -10.0, max = 10.0, update=updateFracTreeParameter)
scale_fork = bpy.props.FloatProperty(name="Scale Fork", description="Scaling factor fork size.", default=0.6180469, min = -10.0, max = 10.0, update=updateFracTreeParameter)
scale_turn = bpy.props.FloatProperty(name="Scale Turn", description="Scaling factor turn.", default=1.0, min = -10.0, max = 10.0, update=updateFracTreeParameter)
Notice all the update=updateFracTreeParameter at the end of the bpy.props declaration? When a property changes in the panel, that def is executed.