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:
Merge request reports
Activity
added enhancement label
requested review from @kuti
assigned to @andy
@martin.werther - ready for comments/testing.
- Resolved by Kutalmış Berçin
- Resolved by Mark OLESEN
unrelated, but realised the following warnings for
linux64GccDPInt32Opt
andlinux64GccSPDPInt64Debug
in this context:... uild/linux64GccSPDPInt64Debug/applications/utilities/mesh/advanced/collapseEdges/collapseEdges.o wmkdepend: could not open 'CGAL/version.h' for source file 'surfaceBooleanFeatures.C': No such file or directory Making dependency list for source file domainDecompositionDryRun.C wmkdepend: could not open 'PolyhedronReader.H' for source file 'surfaceBooleanFeatures.C': No such file or directory
Edited by Kutalmış Berçinchanged milestone to %v2206
@mark - demonstrated functionality looks good to me, further reporting via EP#1886, thanks!
added 41 commits
-
434f110f...675c1680 - 40 commits from branch
develop
- ad0235a7 - ENH: support surface writer output transform (#2505 (closed))
-
434f110f...675c1680 - 40 commits from branch
mentioned in commit fb727bab