Text this: An investigation of the mechanics of loop formation in warp knitting