OBJ exporter working (Python 3.0), but needs testing and fixing.
authorArystanbek Dyussenov <arystan.d@gmail.com>
Sun, 28 Jun 2009 13:29:03 +0000 (13:29 +0000)
committerArystanbek Dyussenov <arystan.d@gmail.com>
Sun, 28 Jun 2009 13:29:03 +0000 (13:29 +0000)
commit1557736756b41dfa8fff4d7c887a7d6da2b1f468
tree32da2cded80ffac6cf1623ec7a42bbdbb19f0901
parent83a5a585e48ce9abb39e67372bd1ff400877d178
OBJ exporter working (Python 3.0), but needs testing and fixing.
Current issues:
- NURBS - needs API additions
- "all scenes" export - cannot switch scene in bpy
- normal calculation, disabled
- duplis - need testing, only dupliverts tested
- matrix problem
- UI, 18 options currently don't fit into filesel panel, will do manual lay out once it's available
- probably others...

BPY:
- made operator "execute" method required to avoid crash
- added bpy.sys module which replicates old "sys" module

API:
- replaced create_*_mesh with a single create_mesh accepting type parameter
- added Mesh.create_copy to create a copy of a mesh with 0 users

Ran `dos2unix` on source/blender/python/SConscript
12 files changed:
release/io/export_obj.py
release/io/export_ply.py
release/scripts/3ds_export.py
release/scripts/export_obj-2.5.py [deleted file]
release/ui/space_script.py
source/blender/makesrna/intern/rna_mesh_api.c
source/blender/makesrna/intern/rna_object_api.c
source/blender/python/intern/bpy_interface.c
source/blender/python/intern/bpy_operator_wrap.c
source/blender/python/intern/bpy_rna.c
source/blender/python/intern/bpy_sys.c [new file with mode: 0644]
source/blender/python/intern/bpy_sys.h [new file with mode: 0644]