input
Sample Execution Fuction, to read the Cube position, colors from an excel file. and create necessary cube object.
Uses pandas to read Excel
- cube3d.input.get_cube(file)
read the cube details from excel. Excel should have six different side details (‘front’, ‘back’, ‘top’, ‘bottom’, ‘left’, ‘right’) assuming facing front.
- Args:
file (str): Excel file name, where cube detail is stored.
- Returns:
Cube: Cube object