multiframes_import.py is a script to import a coherent sequence of meshes in PLY or OFF format as an unique blender object, adjusting frame by frame the location of the original mesh according to the corresponding mesh on the sequence.
- License: GPL v3
- Download: multiframes_import.py
Installation
To be able to use multiframes_import.py, please put it first on the script directory of your blender environment. For example, in a GNU/Linux system, this directory is ~/.blender/scripts/.
Usage
The import script is now available on the main menu: "File" > "Import" > "Multiframes import (.ply, .off)...". A new window it then opened, as shown in figure 1. Select the first PLY or OFF file of the sequence using the Select button and browsing our hard disk.

Figure 1: The script window
After this file selection, the names of other files in the sequence are automatically computed (figure 2), checking for existing files in the same directory. The toogle buttons available on the basename of the file allow the user to select the part of the filename that is used for this sequence computation. In the example shown in figure 2, files in the sequence are cushion-0001-prune01-1.ply, cushion-0001-prune01-2.ply ..., cushion-0001-prune01-50.ply. The sequence settings allow the user to adjust the sequence, for exemple by only selecting one in every two files, or stop the sequence after n frames.

Figure 2: The script window after a file selection.
Finally, the first blender frame of the sequence can be set, and press the Import button generates the sequence.
After this process, a new mesh is created into blender, with points and triangles imported from the first PLY or OFF file, and with points' location adjusted frame by frame from the other files. To check for valid importation, modify the current frame value.
Important: all the meshes have to include the same number of vertices, otherwise the import process will fail.


