Adding frame to model based on corner points