def init():
    value_map = {}
    for attr, value in Material.__dict__.items():
        if attr.isupper() and type(value) == int:
            block_type = BlockType(attr, value)
            setattr(BlockType, attr, block_type)
            value_map[value] = block_type
    BlockType.value_map = value_map
Save scene to a RenderMan RIB file.
dataset/ETHPy150Open katharosada/botchallenge/client/botchallenge/blocktypes.py/init--crossover with--dataset/ETHPy150Open enthought/mayavi/tvtk/pyface/tvtk_scene.py/TVTKScene.save_rib