Search Results
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 |
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
875
views
How to select extruded vertices in bmesh?
I'm just messing around with bmesh and was trying to create a script that would extrude the edges I mark as sharp. … Here's my code:
import bpy
import bmesh
from mathutils import Vector
ob = bpy.context.object
me = ob.data
bm = bmesh.from_edit_mesh(me)
selected_verts = [v for v in bm.faces if v.select]
verts_to_extrude …
1
vote
1
answer
586
views
How to get a list of vertices from a list of edges in bmesh?
So if I have a list of edges,
selected_edges = [e for e in bm.edges if e.select]
How would I make an array of the vertices contained in the edges of that list?
For context: in my project I'm maki …