from maya.cmds import curve from math import cos,sin class FractalTree(): '''Tree in one curve (inexact but light)''' def __init__(self): self.pts = [] self.it = 7 # tree iterations self.r = .7 # branch length factor self.s = .5 # branch spreading (0