Automatic rotation of model with repeat