knitout-interpreter

User Guide

  • Installation
  • Quick Start
  • Examples
  • Core Components
  • Debugging Knitout

API Reference

  • knitout_interpreter package

Project Info

  • Related Projects
    • Core Knitting Libraries
    • CMU Textiles Lab Projects
      • knitout - Original Specification
      • knitout-frontend-js - JavaScript Tools
  • Acknowledgments
knitout-interpreter
  • Related Projects
  • View page source

Related Projects

Core Knitting Libraries

knit-graphs knit_graphs_version

Knitting graph data structures and analysis tools.

  • Purpose: Models fabric topology and stitch relationships

  • Key Features: Stitch dependency tracking, fabric analysis, pattern validation

  • Integration: Used by KnitScript to represent generated fabric structures

  • Repository: knit-graphs on PyPI

virtual-knitting-machine vkm_version

A simulation of a knitting machine.

  • Purpose: Used to verify knitting operations and construct knit graphs.

  • Repository: virtual-knitting-machine on PyPI

knit-script ks_version

A general purpose machine knitting langauge

  • Purpose: Fully programmatic support to control knitting machines.

  • Repository: knit-script on PyPI

knitout-interpreter knitout_interp_version

Knitout processing and execution framework.

  • Purpose: Processes and validates knitout instruction files

  • Key Features: Instruction parsing, carriage pass organization, error detection

  • Integration: Processes KnitScript’s generated knitout output

  • Repository: knitout-interpreter on PyPI <https://pypi.org/project/knitout-interpreter/>

CMU Textiles Lab Projects

The knitout-interpreter builds upon foundational work from Carnegie Mellon University’s Textiles Lab:

knitout - Original Specification

  • Repository: knitout

  • Description: Original knitout specification and reference tools

  • Created by: McCann et al.

  • Purpose: Defines the standard format for automatic knitting machine programming

The original knitout project established the specification that this interpreter implements, providing the foundation for machine-readable knitting instructions.

knitout-frontend-js - JavaScript Tools

  • Repository: knitout-frontend-js

  • Description: JavaScript frontend tools for knitout generation

  • Language: JavaScript/TypeScript

  • Purpose: Web-based tools for creating and manipulating knitout files

This project provides complementary browser-based tools for working with knitout files, offering a different ecosystem for web applications.

Previous Next

© Copyright 2025, Megan Hofmann.

Built with Sphinx using a theme provided by Read the Docs.