support surface writer output transform (#2505)
-
this allows the "relocation" of sampled surfaces. For example, to reposition into a different coordinate system for importing into CAD.
-
incorporate output scaling for all surface writer types.
This was previously done on an adhoc basis for different writers, but with now included in the base-level so that all writers can automatically use scale + transform.
Example:
formatOptions
{
vtk
{
scale 1000; // m -> mm
transform
{
origin (0.05 0 0);
rotation axisAngle;
axis (0 0 1);
angle -45;
}
}
}
An example of transform in action. Used to reposition the output slices:
Edited by Mark OLESEN