Machine control
Tile plows and trenchers can follow a design through their grade control. A file a machine follows goes straight into the ground, so a wrong unit, datum or direction would be dug in before anyone saw it. Nothing here writes a machine-control file until that format has been tested on the equipment that reads it.
The interface
apps/web/src/lib/export/machine-control.ts keeps a registry of formats. Each has a name, where it's defined, a writer, and a record of its test on equipment. A format is enabled only with both a writer and a test record, and the Export panel offers only enabled formats. Today none are, and the panel says so.
What's in the registry
- LandXML 1.2 alignments and profiles, an open standard, with no writer and no test yet.
Vendors' own formats aren't listed. Adding one needs the vendor's documentation of the format, not a guess at it from sample files.
What a test has to show
A format's test record says what equipment and software version it was run on, when, by whom, and what happened. To count, it should show, on real ground:
- the machine reads the file without changes, with the right coordinate system, units and vertical datum;
- it follows each pipe the right way, from upstream to down;
- its grade stays within the tolerance the contractor works to, measured against the design's inverts, over enough length to include a grade change and a junction.
The record goes in the registry with the writer in the same change, so a format can't be turned on without its evidence. An engineer or the contractor should review it.