Skip to content
Snippets Groups Projects

support surface writer output transform (#2505)

Merged Mark OLESEN requested to merge feature-surfaceWriter-coordinateTransform into develop
  • 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: transform-surfaceWrite

Edited by Mark OLESEN

Merge request reports

Merged by Andrew HeatherAndrew Heather 3 years ago (Jun 13, 2022 8:26am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Kutalmış Berçin
  • Mark OLESEN resolved all threads

    resolved all threads

  • Kutalmış Berçin resolved all threads

    resolved all threads

  • Tests

    • linux64ClangDPInt32Opt
    • linux64GccDPInt32Opt
    • linux64GccSPDPInt64Debug
    • Alltest
  • Kutalmış Berçin approved this merge request

    approved this merge request

  • unrelated, but realised the following warnings for linux64GccDPInt32Opt and linux64GccSPDPInt64Debug 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çin
  • Mark OLESEN changed the description

    changed the description

  • Mark OLESEN marked this merge request as ready

    marked this merge request as ready

  • Mark OLESEN approved this merge request

    approved this merge request

  • Mark OLESEN changed milestone to %v2206

    changed milestone to %v2206

  • @mark - demonstrated functionality looks good to me, further reporting via EP#1886, thanks!

  • Andrew Heather added 41 commits

    added 41 commits

    Compare with previous version

  • Andrew Heather mentioned in commit fb727bab

    mentioned in commit fb727bab

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading