minor: needed cells, not faces

This commit is contained in:
Stephen McQuay 2011-03-25 14:21:25 -06:00
parent d62a1ae0d7
commit b8cb32d819

View File

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