Knitting a Rectangle

If you're looking for a place to get started with learning knitout and machine knitting logic, this page is it. Before diving into anything too fancy, we'll begin your knitout journey with something simple—a 10x10 rectangle of stockinette.

The knitout operations that are covered in this project are tuck, knit, and drop. Note that the example code below is written for use a Shima Seiki SWG machine, but comments have been added with information about what should change if you were to run it on a Kniterate. You can find the full code, both for SWGN2 and Kniterate, on the right side of this page.

Let's look at the code line-by-line (or section-by-section):

First we begin with the knitout magic string, which indicates that knitout is the file format and specifies the version of knitout being used in the file.

Next are the headers. The only required header is ;;Carriers:, but there are some other optional ones that can be added as well, all which you can read about on the headers page.

;;Carriers: 1 2 3 4 5 6 7 8 9 10 ;Kniterate -> ;;Carriers: 1 2 3 4 5 6