Rotation and Transform Algorithm manualy Openning port