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 |
Python is an interactive, object-oriented programming language. In Blender, it is used as a general-purpose scripting language and to create add-ons to extend Blender's functionality.
1
vote
1
answer
159
views
How do I convert a bone to b-bone with Python and set the number of segments
I made a string of bones but want specific bones to be b-bones
I have:
bpy.ops.object.armature_add()
the python suggestion is:
bpy.data.armatures['Armature'].draw_type
how do I define b-bone from this …
2
votes
1
answer
138
views
User Varialble input failure
I'm trying to enter dimensions of an object. I'm using the code below.
It does not recognize the variables XX or YY and get the error: Key "XX" not found
Any clues??
import bpy
from bpy.props import …
14
votes
1
answer
18k
views
select specific face by its index
How do I select a specific face within a mesh knowing its face index or vertex?
I tried without success:
bpy.data.meshes.polygons[2].select=True #where the face index=2