File IO

Currently meteor knows about these formats:

$ meteor --input-format help
Supported formats: text binary videoscape (default: auto-detect)
$ meteor --output-format help
Supported formats: text binary wavefront videoscape (default: text)

Text and binary specific to meteor, but can store all formats and even animations. Videoscape is supported by blender, it only stores position and color.

To output data to a file, --create or -c specifies the filename to use. To read input from a file the --file or -f option is specified. If - is specified, output is read from stdin or written to to stdout. It is possible to perform two operations on a mesh by piping the data (--no-display or -n suppresses the viewer) Both commands have the same output:

$ meteor -c sphere -e "x*x + y*y + z*z = .8" -n && meteor --clip y -f sphere
$ meteor -c- -e "x*x + y*y + z*z = .8" -n | meteor --clip y -f-

To save in blender:

$ meteor -c sphere -e "x*x + y*y + z*z = .8" -n --output-format videoscape

Similarly data can be exported in videoscape from blender and loaded into meteor.

back