Commit Graph

4 Commits

Author SHA1 Message Date
Arystanbek Dyussenov
1557736756 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
2009-06-28 13:29:03 +00:00
Campbell Barton
a42b436a98 PLY export, use the file selector and added operator options 2009-06-20 16:08:01 +00:00
Campbell Barton
ed2887f720 updated the ply exporter to use the blender 2.5 python api
Note's
* exports the mesh without modifiers or transformations applied
* supports UV's vertex colors
* no support for normals yet (missing from data api)
* registers an operator called EXPORT_OT_ply
* no file selector yet. can only fun from python currently
  bpy.ops.EXPORT_OT_ply(filename="/tmp/test.ply")
* removed double lookups on the vertex dict, build face verts to write allong the way.
2009-06-20 14:01:34 +00:00
Campbell Barton
f7c0d1b550 moving the existing ply exporter into io before updating (to get a useful diff) 2009-06-20 13:55:47 +00:00