[Bf-python] bmesh split face
INTERLICHTSPIELHAUS
interlichtspielhaus at gmail.com
Sat Feb 25 14:42:19 CET 2012
hi
playing around with the new bmesh api
i can't split a face of a newly created cube in edit mode
with the following code
"
import bpy
import bmesh
object = bpy.context.object
mesh = object.data
bm = bmesh.from_mesh(mesh)
face = bm.faces[0]
v_one = face.verts[0]
v_two = face.verts[2]
print(v_one,v_two)
bmesh.utils.face_split(face, v_one, v_two)
"
whatever combination of 2 verts i take
i always get one of two errors:
ValueError: face_split(...): one of the verts passed is not found in the
face
or
ValueError: face_split(...): couldn't split the face, internal error
thanks for any help
inS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20120225/b5064b52/attachment.html>
More information about the Bf-python
mailing list