Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Macro Installation by copying files

  • Wiki MarkupParaView stores macros in one of two places, depending on your operating system. In windows, it's "%APPDATA%/ParaView/Macros". For all other operating systems, it's "~/.config/ParaView/Macros". For windows users, one way to find out where "%APPDATA%" really is, is to run paraview, then "Tools" -> "Python Shell". Within the python shell, type "import os; print os.environ\['APPDATA'\]".
  • You can then install a macro by copying it's file into the appropriate ParaView/Macros directory for your operating system.
  • on running (or reloading) ParaView, the you should see yourmacroname (without the ".py" suffix) in one of the macro toolbars. Clicking the macro name will run the macro.

Common Tasks

Save a Movie/Animation

Quick and dirty approach:

  1. get things to look the way you want onscreen
  2. "File -> Save Animation", accept the defaults, and hit "Save Animation"
  3. for File Name, enter the base portion of a frame name "frame", for example.
  4. set the type to .png (<-- This is important; other formats will burn disk space or butcher your image quality.)
  5. Hit OK.
  6. Encode your frames into a movie (using the encode.py script for a plays-on-linux-only x264 movie, or quicktime H.264 for a portable movie) High Quality Movie Encoding
High quality approach:
  1. read up on Generating High Quality Movie Frames
  2. read up on High Quality Movie EncodingPlease see the full writeup here: How to Make Movies with ParaView
  1. Setup
    1. Load your data (mesh, fields and/or particles), and get them to look the way you want
    2. preview your animation using the VCR style controls in the VCR Toolbar ("View -> Toolbars -> VCR Controls" if not already visible)
    3. For your images, figure out your desired resolution and aspect ratio (aspect = pixel_width/pixel_height).
      1. Here is some information on Choosing Frame Resolution. Please read and understand that before proceeding.
      2. It may help to lock your view to that ratio ("Tools -> Lock View Size Custom...")
    4. It helps to see the Animation View ("View -> Animation View" if it's not already visible)

...