This addon will add the ability to import and export ascii OFF mesh files in Blender 2.8x.
- Clone this project.
- Open Blender.
- Go to Edit > Preferences... > Addons tab.
- On the top right, click Install... button.
- Select the
import_off.py
from this project. - Check the checkbox by the OFF addon to enable it.
- Now you should have new import/export menu items to work with OFF files.
If you are using Blender 2.7x or older, please use the blender/2.7
branch.
This addon is licensed under Apache 2.0.
http://www.apache.org/licenses/LICENSE-2.0
Please feel free to open an issue/pull request about any problems you have or features you'd want to have. I'll do my best to be responsive, but if not, feel free to ping me an email or tweet at me.
Blender Wiki page: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/Object_File_Format_%28.off%29
- Support breaking API changes in Blender 2.8x release.
- Allow blank line after the first line of the header (a common occurrence)
- Allow blank lines between the header and the data
- Handle loading edges and faces with more than 3 sides properly
- Handle Blender transformations
- Initial implementation
To have your script show up in the Add-Ons panel, it needs to:
be in the addons/ directory
contain a dictionary called "bl_info"
define register() / unregister() functions.