2D piping example and tutorial