minor: needed cells, not faces

This commit is contained in:
Stephen McQuay 2011-03-25 14:21:25 -06:00
parent d62a1ae0d7
commit b8cb32d819
1 changed files with 5 additions and 1 deletions

View File

@ -1,8 +1,12 @@
from interp import config
import sys
sys.path.append(config['pypath'])
import bpy
import pickle
points = pickle.load(open('/tmp/points.p', 'r'))
faces = pickle.load(open('/tmp/faces.p', 'r'))
faces = pickle.load(open('/tmp/cells.p', 'r'))
# faces = [faces[i] for i in faces]
me = bpy.data.meshes.new('points')
me.verts.extend(points)