Tools for working with OTD (Optimized Tool Data) files generated by Intermac glass cutting optimisation software.
If you run a glass workshop with an Intermac cutting table, you probably have OTD files — these are cutting layouts produced by optimisation software like AWCut. This project gives you two things:
- CLI converter (
otd-convert) — Turn OTD files into CNI files that your Intermac machine can read. Also handles encrypted OTX files. - GUI viewer (
otd-viewer) — Open an OTD file and see the cutting layout visually: sheets, cuts, pieces, shapes. Pan, zoom, toggle layers. Inspect dimensions before you cut.
# Turn your OTD file into a machine-ready CNI file
otd-convert -i layout.otd -o layout.cni
# If you need to specify the machine number
otd-convert -i layout.otd -o layout.cni -m 130
# Just check the file is valid (no output generated)
otd-convert -i layout.otd --validate# Open the viewer
otd-viewer
# Or open a file straight away
otd-viewer path/to/layout.otd
Once loaded, you can:
- Pan with middle or right mouse button
- Zoom with the scroll wheel
- Toggle layers: sheets, linear cuts, pieces, shapes, labels
- Page through multiple patterns
- See sheet dimensions, piece counts, and stats at a glance
OTD files describe a cutting layout for a glass sheet — where each piece goes, how the machine should cut it, what tools to use, and what custom shapes (like rounded corners or notches) are needed.
Some files end in .otx instead of .otd. These are encrypted versions
used by certain workflows. The converter handles both.
The output is a CNI file — this is what you send to the Intermac machine controller.
| Component | What it does |
|---|---|
| otd-convert | Command-line converter (OTD/OTX → CNI) |
| otd-viewer | Desktop GUI for visual inspection of layouts |
| otd-core | Shared library (used internally by both tools) |
MIT