diff --git a/bin/plot.py b/bin/plot.py index 7a64933..07824a7 100644 --- a/bin/plot.py +++ b/bin/plot.py @@ -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)