'Set mesh data for this item. This can be invoked two ways:
1. Specify *meshdata* argument with a new MeshData object
2. Specify keyword arguments to be passed to MeshData(..) to create a new instance.'

def setMeshData(self, **kwds):

    md = kwds.get('meshdata', None)
    if (md is None):
        opts = {}
        for k in ['vertexes', 'faces', 'edges', 'vertexColors', 'faceColors']:
            try:
                opts[k] = kwds.pop(k)
            except KeyError:
                pass
        md = MeshData(**opts)
    self.opts['meshdata'] = md
    self.opts.update(kwds)
    self.meshDataChanged()
    self.update()
