PatternAI
Open PatternAI

Knit · knitout (.k) knit program

knitout file

knitout — the open, needle-by-needle knit program.

  • Written by PatternAI
  • .k
An argyle sweater vest laid out as its knitted pieces, made by the knit engine

What a knitout file carries

  • Every knit, tuck and transfer by needle and bed
  • Yarn carriers in and out
  • Racking
.kPicture: a real knitting design

What a knitout file is

knitout (.k) knit program

knitout is an open, plain-text language for flat knitting machines: each line is one operation — knit, tuck, transfer, split, carrier in or out — on a named needle and bed. Machine-native programs are compiled from it.

How PatternAI writes it. PatternAI writes a knitout program for every piece and keeps it in the ZIP beside the machine’s own file. It is the source the checks and read-back use; the file the machine loads is the native program compiled from it.

What a knitout file carries

Everything the machine reads from it.
  • Every knit, tuck and transfer by needle and bed
  • Yarn carriers in and out
  • Racking

How it is checked before it ships

Every file is proven against its real format before it can leave.
  1. 01The program is replayed the way the machine reads it and compared with the design.
  2. 02Every piece is measured from its own program, so the sizes on the sheet are the sizes it knits.
  3. 03A delivery missing the machine’s own file for any piece is refused, never shipped half-made.

Machines that read knitout

Machines and software that open a knitout file, by kind.
  • Flat knitting machines (via their native program)

Frequently asked questions

What is a knitout file?
knitout is an open, plain-text language for flat knitting machines: each line is one operation — knit, tuck, transfer, split, carrier in or out — on a named needle and bed. Machine-native programs are compiled from it.
Can PatternAI make a knitout file from my design?
Yes. PatternAI writes a knitout program for every piece and keeps it in the ZIP beside the machine’s own file. It is the source the checks and read-back use; the file the machine loads is the native program compiled from it.
Which machines read knitout?
Flat knitting machines (via their native program).
How is the knitout checked before it ships?
The program is replayed the way the machine reads it and compared with the design. Every piece is measured from its own program, so the sizes on the sheet are the sizes it knits. A delivery missing the machine’s own file for any piece is refused, never shipped half-made.

From a prompt or a trend, to a design, to a machine file

Try PatternAI on your own designs free for 7 days. After that you pay only for what you produce.

Open PatternAI

See every file format

63 guides across all eight engines — what each file is and how it is written.

All file formats