Skip to content

Origin Interop

Paige Quarterman edited this page Jul 12, 2026 · 1 revision

OriginPro interop

quantized both reads and writes OriginPro files — clean-room implementations, no GPL code, no Origin installation required.

Reading .opj / .opju

Opening an Origin project recovers:

  • Workbooks — all data columns bit-exact, with real names and units; big books load lazily (the worksheet opens instantly, data streams in on demand)
  • Figures — curves with styles (scatter/line), colors, sizes, axis ranges and log flags, legends (including composite multi-layer legends), text annotations, Rect shades, double-Y and multi-panel layouts
  • Notes windows and the folder tree

Origin's model is respected: clicking an imported book opens its worksheet (it never touches your plots) — see Preferences to change that. A Library Figures section lists every recovered graph; applying one recreates it on the live canvas, where the pointer tool can then move and restyle its text and legend.

Writing

  • .opj writer — produces projects that load in real Origin (value-exact data, curve bindings intact)
  • Origin-ASCII + .ogs — a zip with data files and a LabTalk import script, verified against a live Origin run
  • .otp template import — bring Origin graph templates into the template picker

Live bridge (optional, Windows)

pip install quantized-lab[origin-com] + QZ_ORIGIN_COM=1 enables Send to Origin (COM) for a running Origin instance. Everywhere else the file-based path is the default.

Honest gaps

Undecodable corners of the format are documented rather than guessed — see docs/origin_project_format.md in the repo for the format notes and the current gap register.

Clone this wiki locally