When I to try apply the Bevel Center script to Suzanne, Blender crashes with the error: Segmentation fault. Would anyone else happen to have the same problem?
Start with a fresh scene and replace the cube with Suzanne.
Apply Bevel Center with the default settings.
It only seems to crash as soon as you enter Edit mode. I know it’s a very unusual operation, but maybe it could be some bug of Blender with weird meshes?
I’m using these versions:
Blender 2.41
Python 2.4.2
Traceback (most recent call last):
File “<string>”, line 349, in bevent
File “<string>”, line 381, in bevel
File “<string>”, line 118, in make_faces
File “<string>”, line 88, in get_v
File “<string>”, line 63, in make_sel_vert
NameError: global name ‘v’ is not defined
It crashes for me too with the version you posted. I tried comparing the files and I couldn’t find any differences. Didn’t LetterRip update the bundled script for 2.41?
Start with a fresh scene and add a plane. Extrude one of the edges so that the mesh will have 6 vertices.
Run the following script (from the 2.41 API manual, cambo’s site) in Object mode:
import Blender
from Blender import Mesh
me = Mesh.Get("Plane") # get the mesh data called "Plane"
v = me.verts # get vertices
if len(v) >= 6: # if there are enough vertices...
me.faces.extend(v[1],v[2],v[3]) # add a single edge
l=[(v[0],v[1]),[v[0],v[2],v[4],v[5]]]
me.faces.extend(l) # add another face