Skip to content

Instantly share code, notes, and snippets.

@zeffii
Created June 1, 2014 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeffii/5ac1653b32cbd3ba636d to your computer and use it in GitHub Desktop.
Save zeffii/5ac1653b32cbd3ba636d to your computer and use it in GitHub Desktop.
restore
elif obj.type == 'CURVE':
#for m in obj.matrix_world:
# mtrx.append(m[:])
for spline in obj.data.splines:
verts, edges = get_points(spline, clean=True)
edgs_out.append(edges)
vers_out.append(verts)
mtrx_out.append(obj.matrix_world[:])
continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment