add attribute scale to cube3D
fixed #8