DST — Tajima

DST is the Tajima industrial format: text header + 3 bytes per stitch + tail. Painless to read and write. Not the most feature-rich format (no extrinsic hoop, no colors), but the most widespread on industrial machines.

Structure

  1. 512-byte header: LA:, ST:, CO:, +X, -X, +Y, -Y, AX, AY, MX, MY, PR, ... ASCII text with labels, 0x1a as terminator.
  2. Stream of 3-byte records: [b1, b2, ctrl] (note the ctrl at the end), binary encoding with scattered bits for x, y and the Stitch/Jump/Color/End flags.
  3. Tail: END record.

What it supports

Limits

DST cannot express the hoop position: you set that on the machine. Verified byte-for-byte against pyembroidery as the golden reference (scripts/gen_format_golden.py).

← PES JEF →