Skip to content
Snippets Groups Projects
  1. Aug 19, 2022
    • Mark OLESEN's avatar
      COMP: avoid cpp replacement of linux,unix,... in Make/options (fixes #2548) · 4730c381
      Mark OLESEN authored
      - the cpp command is used to process Make/{files,options}, but builtin
        defines such as `linux` will cause problems (macro replacement) if
        these is present in the Make/{files,options}.
      
        Solve by undefining -Ulinux, -Uunix macros, which will leave directory
        names such as "/usr/lib/x86_64-linux-gnu/..." intact.
      
        Directories with _linux, __linux__ content (for example), could
        still pose future issues.
      4730c381
    • Mark OLESEN's avatar
      ENH: support rotationCentre for surface output formats (#2565) · 7ea185b0
      Mark OLESEN authored
      - as an alternative output transform (supplementary to the regular
        coordinate system specification - issue #2505) it is now possible to
        specify the rotation centre directly.
      
        Example:
      
            formatOptions
            {
                vtk
                {
                    scale 1000;  // m -> mm
                    transform
                    {
                        origin  (0 0 0);
                        rotationCentre  (1 0 0);
                        rotation axisAngle;
                        axis    (0 0 1);
                        angle   -45;
                    }
                }
            }
      
         This behaves like the transformPoints and surfaceTransformPoints
         '-centre' option (formerly '-origin') in that it removes the
         specified amount from the point locations, applies the rotation and
         finally adds the specified amount back to the newly rotated point
         locations.
      
         The results of specifying a `rotationCentre` and a non-zero
         coordinate system `origin` may not be intuitively evident.
      7ea185b0
    • Alexey Matveichev's avatar
      CONFIG: fixes for MacOS (#2555) · e827c117
      Alexey Matveichev authored and Mark OLESEN's avatar Mark OLESEN committed
      - introduce a FOAM_LD_LIBRARY_PATH variable to shadow
        DYLD_LIBRARY_PATH on MacOS.
      
        The DYLD_LIBRARY_PATH and LD_LIBRARY_PATH cannot be modified via sub
        shells etc when SIP is active. This helps circumvent these
        restrictions, which is obviously a hack, but seems to be required.
      
      COMP: disable -ftrapping-math in geompack for MacOS
      e827c117
    • Mark OLESEN's avatar
  2. Aug 18, 2022
    • Mark OLESEN's avatar
      BUG: incorrect order for output scaling (transformPoints, ...) · b6a6e40c
      Mark OLESEN authored
      - the output write scaling should be applied *after* undoing the
        effects of the specified rotation centre. Fixes #2566
      
      ENH: update option names for transformPoints and surfaceTransformPoints
      
      - prefer  '-auto-centre' and '-centre', but also accept the previous
        options '-auto-origin' and '-origin' as aliases.
      
        Changing to '-centre' avoids possible confusion with
        coordinate system origin().
      b6a6e40c
  3. Aug 11, 2022
  4. Aug 09, 2022
  5. Aug 08, 2022
  6. Aug 04, 2022
  7. Aug 03, 2022
  8. Aug 02, 2022
  9. Aug 01, 2022
  10. Jul 27, 2022
  11. Jul 25, 2022
  12. Jul 22, 2022
  13. Jul 21, 2022
  14. Jul 20, 2022
  15. Jul 19, 2022