def set_defaults(self): Object.set_defaults(self) self.setoptions( labeltype = 'none', shaded = 0, colored = 0, colorstep = 25, colorstart = 25, )
def set_defaults(self): Object.set_defaults(Object) self.setoptions( ID=None, coordinatesystem="user", ison=1, lighttype=("ambient", 0), material=("ambient", 0.20), position=(None, None, None), )
def __init__(self, func=None, xstart=None, xstop=None, xstep=None,\ ystart=None, ystop=None, ystep=None, zstep=None, **keywords): Object.__init__(self, **keywords) self.setdata( func = func, xstart = xstart, xstop = xstop, xstep = xstep, ystart = ystart, ystop = ystop, ystep = ystep, zstep = zstep, contours = None, ) if allExist(func, xstart, xstop, xstep, ystart, ystop, ystep, zstep): self.setup_data() self.setup_contours()
def __init__(self, **keywords): Object.__init__(self, **keywords)
def set_defaults(self): Object.set_defaults(Object) self.setoptions(ison=1)
def __init__(self, **keywords): Object.__init__(self, **keywords) self.lights = [None, None, None, None, None, None, None, None]