minor: needed cells, not faces
This commit is contained in:
parent
d62a1ae0d7
commit
b8cb32d819
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user