[Bf-python] Mesh.Obj i/o
Campbell Barton
cbarton at metavr.com
Mon Jan 9 09:17:57 CET 2006
Ken, is it possible to have Mesh working for Blender 2.41 next week?
I have moved both obj import and export to Mesh and remaining issue is
with face extending.
Issue is as before- breating faces.
PFace would be be okay, or extra parametres in extend as discussed.
Also, would be be hard to have faces UV accept a list as well as a
tuple? Lists are much faster for stansforming UV's with List Comprehension.
eg
for f in me.faces:
f.uv = [uv*2 for uv in f.uv]
# Rather then
for f in me.faces:
f.uv = tuple([uv*2 for uv in f.uv])
- not a bug deal but if you do a lot of uv coord manipulation you end up
with lots of tuples() around LC's.
maybe document that assigning a list wont make uv's share the list object -
- Cam
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-python
mailing list