XP1TrForm

XP1TrForm transforms a Drawile by applying a matrix to it. To process a DrawFile (or a selection being saved out of a Draw window), all you have to do is drag and drop the file onto the XP1TrForm icon on the icon bar, then drag the resulting file to wherever you want it (which might be filer window, or a Draw window).

Initially, the matrix is [0 1 1 0 0 0], which is a reflection in the y=x line. You can supply any matrix you like, by writing a text file with the desired matrix, and dropping it onto the XP1TrForm icon on the icon bar. The new matrix will then apply until you drop a different textfile, with a different matrix, onto the icon – or quit and restart the app.

There must be exactly six elements, separated by single spaces or commas – not both. There must not be a space before the first element. Each element can contain any number of digits, optionally preceded by a minus sign (-) and optionally with a decimal point. Anything else is ignored.

The first four elements of the matrix are a standard 2x2 matrix to multiply the [x,y] co-ordinates of every point in the DrawFile; the last two are X and Y linear translations, in mm. (At some point in the future I may provide for alternative units, and alternative ways of specifying the transformation – no promises as to timescales!)

Download XP1TrForm here

If you find it useful, contributions to my pension are always welcome, but certainly not required.