[Bf-python] Add UV coordinates by python: is possible?
Manuel Bastioni
manuelbastioni at tin.it
Mon Feb 2 15:09:21 CET 2004
Bill Baxter ha scritto:
> Maybe you need to cast to float tuple. I you're trying to use a
> string tuple.
> like f.uv.append(map(int, tuple(uvVertCoo)))
> --bb
thanks, I've used this:
for i in range(nverts):
uvVertCoo = uvCoo[i].split(',')
f.uv.append(tuple(map(float, uvVertCoo)))
but Blender return this error:
Memoryblock tface: end corrupt
Any idea?
More information about the Bf-python
mailing list