hi<div><br></div><div>playing around with the new bmesh api</div><div><br></div><div>i can't split a face of a newly created cube in edit mode</div><div>with the following code</div><div><br></div><div>"</div><div>
<div>import bpy</div><div>import bmesh</div><div><br></div><div>object = bpy.context.object</div><div>mesh = object.data</div><div>bm = bmesh.from_mesh(mesh)</div><div><br></div><div>face = bm.faces[0]</div><div>v_one = face.verts[0]</div>
<div>v_two = face.verts[2]</div><div>print(v_one,v_two)</div><div><br></div><div>bmesh.utils.face_split(face, v_one, v_two)</div></div><div>"</div><div><br></div><div>whatever combination of 2 verts i take</div><div>
i always get one of two errors:</div><div><br></div><div><div>ValueError: face_split(...): one of the verts passed is not found in the face</div></div><div>or</div><div><div>ValueError: face_split(...): couldn't split the face, internal error</div>
</div><div><br></div><div>thanks for any help</div><div>inS</div><div><br></div><div><br></div>