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 76904

Questions concerning scripting in Blender using the Python programming language. Also use this tag for questions about scripting in OSL (Open Shading Language).

1 vote
2 answers
396 views

BMesh: Accessing edges of created mesh

Let’s say I created a bunch of these cones in my_bmesh object: c = bmesh.ops.create_cone(my_bmesh, segments=8, diameter1=1, diameter2=1, cap_ends=True) Is there a way to access a cone’s edges (pref …
blusher's user avatar
  • 23
1 vote

BMesh: Accessing edges of created mesh

Solved it: (prev_edges -> edges from previous cone) c = bmesh.ops.create_cone(my_bmesh) verts = list(c.values())[0] curr_edges = verts[0].link_faces[0].edges total_edges = [e for e in prev_edges] + [ …
blusher's user avatar
  • 23