Three-dimensional separation and reattachment