Extensions:2.6/Py/Scripts/Import-Export/Raw Mesh IO

提供: wiki
移動先: 案内検索
I/O: Raw mesh
Raw Triangle File format Import/Export
UI location File->Import or File->Export
Version 0.2 Author(s) 'Aurel Wildfellner', 'Anthony D,Agostino (Scorpius)'
Blender 2.5.6 License GPL
Distribution release


Executable information
File name __init__.py export_raw.py import_raw.py
Current version download https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons/io_mesh_raw/



Additional information

Import

This script imports Raw Triangle File format files to Blender. The raw triangle format is very simple; it has no verts or faces lists. It's just a simple ascii text file with the vertices of each triangle listed on each line. In addition, a line with 12 values will be imported as a quad. This may be in conflict with some other applications, which use a raw format, but this is how it was implemented back in blender 2.42.

Execute this script from the "File->Import" menu and choose a Raw file to open.

Generates the standard verts and faces lists, but without duplicate verts. Only exact duplicates are removed, there is no way to specify a tolerance.

Export

This script exports a Mesh to a RAW triangle format file. The raw triangle format is very simple; it has no verts or faces lists. It's just a simple ascii text file with the vertices of each triangle listed on each line. In addition, also quads can be exported as a line of 12 values (this was the default before blender 2.5). Now default settings will triangulate the mesh.

Execute this script from the "File->Export" menu. You can select whether modifiers should be applied and if the mesh is triangulated.


Installation

  • This Script is in Blender 2.5 addons folder

Instructions

to do.