All Questions
219 questions
1
vote
0
answers
28
views
Python commands work in console but not in script
Brand new to blender but not to Python. I have a simple script where I import an STL, translate it, apply physics settings, play the animation, and do a quick render. If I run each line of code one-by-...
0
votes
0
answers
31
views
Scripting in Blender to create 3 methods of extrude, bend and rotate
I am trying to create 3 methods, I have the extrude and the rotate, but I cannot figure out the bend portion of the script. I need it so that I can systematically bend and extrude to form an object. ...
0
votes
0
answers
15
views
Boolean Modifier - Why is the computation not working properly in the animation?
In this answer, it was explained how to get the surface intersection between a conical frustum and an ellipsoid.
In a static configuration, it works perfectly, as shown here
Now, I want to make the ...
0
votes
1
answer
27
views
How to remove rotation along selected axes in all armature bones?
I'm working on a project in Blender and need to reset the rotation for all bones in an armature along specific axes. I want to achieve this using a Python script. Specifically, I want to remove ...
0
votes
0
answers
45
views
Add more than two objects using driver distance
I'm currently working on a project and using the driver distance feature. I'm curious if it's possible to add more than two objects. Has anyone tried this before? Any advice or tips would be greatly ...
1
vote
0
answers
37
views
How can I determine if the Dope Sheet menu state is expanded or closed via Python?
Is there a way I can access certain UI elements through a script in Blender? I am trying to access information within the Dope Sheet Editor. One thing I would like to achieve is to determine if a menu ...
0
votes
0
answers
79
views
How To Capture Mouse Movements During Blender Operations
I'm looking to capture mouse movements while using specific Blender operations, such as ...
0
votes
2
answers
39
views
How select key frames on the curve where the value < 0?
How select key frames on the curve where the value < 0?
0
votes
0
answers
29
views
how to make uv sphere with different colors in in like this
how do you make colours inside the UV sphere? Like red and dark inside it
1
vote
1
answer
132
views
Problem with weird rotations of objects moving along Mobius strip paths (animated using Blender Python API)
This is a follow up question to my previous one regarding objects moving in a circle (which was a simple test case I had put together). I really appreciate the answer and detailed explanation provided ...
0
votes
0
answers
49
views
Automatically Camera animation (jumping from one object to another)
I was wondering if there is a script or automation for the Blender Cam to automatically jump from one object to the next.
The background is as follows: I am in the process of creating a photo show in ...
0
votes
0
answers
16
views
Texture Linked to Mesh movement
Im trying to find a way to either change a texture or mesh based on the movement of its parent. An example of what I mean would be a Character in those old Top down RPG games where if ZCharacter moved ...
1
vote
1
answer
89
views
Is it possible to automatically create a plane between two spheres when they move and reach each other?
Is it possible in Blender to do something like, whenever these two spheres move and reach each other, a plane automatically gets created between them?
I tried the answer below and then changed the ...
1
vote
1
answer
332
views
How to pass arguments/parameters to an operator class (bpy.types.Operator)? [duplicate]
I am trying send an input argument to the class ModalTimerOperator(bpy.types.Operator) but failing to do so. I am trying to send a ...
0
votes
1
answer
134
views
Pose bone head and tail position at a frame from python
I need to get the actual pose bone head and tail position at a particular frame in world space during the animation. Want to avoid calling bpy.context.scene.frame_set as it is quite expensive. Is ...