Questions tagged [scripting]
Questions concerning scripting in Blender using the Python programming language. Also use this tag for questions about scripting in OSL (Open Shading Language).
6,444
questions
0
votes
0
answers
12
views
I’m attempting to rig a wheel chair model. But I’m having issues with making the front wheels fuction as in when rotating to reverse & back to forward
The two front wheels are Childs of empties that are circles around the center of each wheel (x rotation).
Each of the empties, are Childs of circle empties that are flat (z rotation), which are ...
1
vote
1
answer
98
views
Control Blending Mode of the Color Mix node through the custom driver
Could somebody point me out on how to control the Blending mode of Color Mix nodes through the Custom Properties driver? I want to be able to choose between Mix, Multiply and Add parameters.
I have ...
0
votes
0
answers
22
views
Blender Script - 3D Cursor management
I'm making an addon with miscellaneous buttons and I've got a problem with the cursor management. I copied a line from my custom pie menu and pasted it to my addon script and replaced "pie....
0
votes
0
answers
14
views
Showing Info Text in Status bar as how "Merge By Distance" does
When "Merge By Distance" in action, I see in statusbar, some information like
"(infoicon)78 vertices removed" for a while (1-2 secs appears)
how can we do it in python blender API?
0
votes
0
answers
18
views
Similar to "Echo All commands" in Blender?
Is there a way to see which python codes or methods run when I press a hotkey ?
eg I Press "ö" and some action happens. and I don't know what it is.
(also Preferences > KeyMap > Key-...
0
votes
0
answers
19
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
8
views
How to install the HCL or LCh Color Space for Blender's Compositor (for use in the Separate and Combine Color nodes)
I am working on a project within Blender that involves colouring black and white videos, and part of it involves using the "Separate" and "Combine" color nodes to overlay the color ...
0
votes
1
answer
13
views
Hard ops smart apply menu is missing
I just started using Hard ops. But it seems there is no Smart Apply in my context menu. Does anyone know what am I missing? I tried to search for this issue but I can't find anything related.
1
vote
2
answers
43
views
How to run custom script (via python) after use "delete object" or "rename object"
Is it possible to run my own script after the "Delete object" and "Rename object" action? Not all at once deletion and rename - separately. (bpy.ops.object.delete(), bpy.context....
1
vote
1
answer
70
views
I want to remove the console display that appears when reloading a script
I want to get rid of the following console printout.
This is the display seen when the script is System Reloaded.
...
3
votes
1
answer
84
views
Automatic actions after starting addon?
I'm creating an addon in Blender using bpy. It's a side panel with a few buttons and input fields. To speed up development, I would like the addon to automatically ...
0
votes
0
answers
23
views
Scale issue when opening glb export in gltf-viewer
When I import my glb export to gltf-viewer it gets enormous, scale issue, I need to use such animated character from Mixamo for an AR project.
Would really appreciate some help, Link for 3D animated ...
0
votes
0
answers
10
views
Auto Rig Pro, Export Scripting from documentation gives me an error
Blender 4.0.1
Auto Rig Pro 3.69.28
When I copy and paste any of the script examples from the documentation: https://lucky3d.fr/auto-rig-pro/doc/ge_export_doc.html
I get the error:
AttributeError: ...
0
votes
1
answer
39
views
Trouble debugging this script (loop through non-manifold verts on one mesh and find index of closest edge on a different mesh) - any tips
The eventual purpose of this script will be to try to stitch two halves of two different, sliced-open objects, together. This is to be done by individually moving each of the verts on the open non-...
1
vote
1
answer
27
views
How do I get the output of the Join Strings node in python?
I'm trying to get the output from as join strings node with the following code but it's printing out nothing?
My Nodes
Code
...