Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 30712

Blender Python Bmesh module, added in 2.63, provides an alternative method of manipulating meshes "giving Python access to the functions used by Blender’s own mesh editing tools.". Use this tag for question about using the Bmesh module in Python scripts and add-ons.

2 votes
1 answer
176 views

Bmesh: Immediately encounter strange error after adding new layer and running bmesh op

The script is simple: import bpy, bmesh mesh = bpy.context.edit_object.data bm = bmesh.from_edit_mesh(mesh) geom = [e for e in bm.verts[:] + bm.edges[:] + bm.faces[:] if e.select] cut_layer = bm.edges.layers.int.new …
hedgehog90's user avatar
1 vote
1 answer
502 views

Bmesh: running bmesh ops after deleting geometry often results in an error

id=0B9DFPZBPKp6AdERZTmJWeGE0RFE If you delete geometry from a bmesh, but immediately then run another some more bmesh operations with reference to your resultant geometry, you will often encounter this …
hedgehog90's user avatar
2 votes
0 answers
35 views

split edge at multiple points without distorting uv or other data

Here's a bmesh edge: +-----------------------------+ Say I want to cut it at multiple points, in the middle and 3/4 from the end like so: +--------------+-------+------+ In which case I can use bmesh.ops.split_edges …
hedgehog90's user avatar