Transfer

The transfer operation, written xfer N1 N2 in knitout, moves the loops on needle N1 to needle N2. The needles must be on opposite beds, and must be aligned at the current racking.

Transfers are an important part of many advanced operations, including binding off, width increasing, width decreasing, lace, and cables.

The problem of finding transfers to move loops for a particular task is known as the transfer planning problem.

Resources & References

2 9 5
for written in
;!knitout-2
;;Machine: Kniterate
;;Carriers: 1 2 3 4 5 6

;title: Xfer (raw knitout)
; Xfer moves loops to the opposite bed.

x-loop-in + f2 1
x-loop-in + f4 1

; xfer moves loops to the opposite bed:
xfer f2 b2

; xfer, in combination with rack can move loops left and right:
rack -1
xfer f4 b5
rack 0
xfer b5 f5

x-loop-out b2
x-loop-out f5
;!knitout-2
;;Machine: SWGN2
;;Carriers: 1 2 3 4 5 6 7 8 9 10

;title: Xfer (raw knitout)
; Xfer moves loops to the opposite bed.

x-loop-in + f2 1
x-loop-in + f4 1

; xfer moves loops to the opposite bed:
xfer f2 b2

; xfer, in combination with rack can move loops left and right:
rack -1
xfer f4 b5
rack 0
xfer b5 f5

x-loop-out b2
x-loop-out f5