I have vertex and face data loaded from a cube that was subdivided many times, with a total of 26138 vertices and slightly fewer faces.
I am loading the object in a script, and whenever I try to load it with
mesh.from_pydata, I get a segmentation fault (core dumped) error.
mymesh = bpy.data.meshes.new(mesh_name) myobject = bpy.data.objects.new(mesh_name, mymesh) bpy.context.scene.objects.link(myobject) print('loading from pydata...') mymesh.from_pydata(vertices,,faces)
vertices is either a numpy array or a list object. I've tried both, and the segmentation fault occurs in both.
faces is a standard list of tuples corresponding to vertex indices.
Here is the log from
# Blender 2.78 (sub 0), Commit date: 2017-02-24 14:33, Hash e92f2352830
bpy.context.space_data.bookmarks_active = 0 # Property