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 95893

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

Move Bone Tail to a certain location

Writing an updated answer for above answer ( @lemon 's answer ) # set the armature object as active object and switch to pose mode meshname = "mesh_1" bpy.context.view_layer.objects.active = bpy.data. …
Rohit Davas's user avatar
0 votes

Reset Rotation , Translation and Scale of bones through Script

You can ensure that by meshname = "mesh_1" bpy.context.view_layer.objects.active = bpy.data.objects[meshname] Switch to Pose mode using python bpy.ops.object.mode_set(mode = 'POSE') and now you can …
Rohit Davas's user avatar
3 votes

Get the location in world coordinates of a bone's head and tail while in pose mode

The answer by @David does not look okay to me. I might be wrong. The context.active_pose_bone.tail gives us location with respect to the parent bone. The context.active_pose_bone.tail_local will giv …
Rohit Davas's user avatar
2 votes

How to hide a certain object in blender 2.8?

You can change the current area to the Outliner and call bpy.ops.object.hide_view_set(): # Set the area to the outliner area = bpy.context.area old_type = area.type area.type = 'OUTLINER' # Select a …
Rohit Davas's user avatar
1 vote

Silent command line rendering

If you need to print your lines on blender but not the blenders so much of outputs, you can use add your-command |grep "#". "#" is a keyword You can use you own keyword for this that you can add at …
Rohit Davas's user avatar