Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [python]

Python is an 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
11 views

Get tags of appended asset browser object with python

I would like to get the tags of an object that I appended through the asset-browser. I know this is possible with linked objects using: ...
Erdorano's user avatar
  • 127
4 votes
1 answer
98 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 ...
lurvas's user avatar
  • 45
0 votes
0 answers
17 views

Python: Import and Export .STL to changing directories

So I have a script that does a bunch of stuff with and imported STL (It separated it different objects and some other stuff) Right now I'm just manually importing the STL, then manually batch ...
Cornivius's user avatar
  • 1,896
0 votes
0 answers
12 views

why my ball rig file not show in viewport after linked or append it?

As a beginner in blender, I downloaded a ball rig file to practice ball movement and bouncing. However, I am unable to linked or append it to the blender viewport. I am seeking guidance to solve this ...
Asma Khan's user avatar
0 votes
0 answers
28 views

How to Export JSON from Blender with Split Normals using Geometry Nodes

I am trying to export a JSON file from Blender and need split normals as data on vertices. I have exported a custom attribute named "norm" using geometry nodes. However, I am struggling to ...
Vishal Soni's user avatar
0 votes
0 answers
21 views

Ray_casting from curve origins doesn't hit any part of the mesh

The terminal prints none, which I guess means the raycast is not hitting anything. To replicate this output. Run the script and navigate to its sidebar in the viewport, select the two nerve curves and ...
Stavros Piliaris's user avatar
0 votes
0 answers
32 views

How to add a collection from a Blend file via add-on code?

This is my current code: ...
Vindicator MC's user avatar
0 votes
0 answers
17 views

Loading gltf via bpy in headless mode crashes while UI works

I have been trying to import a .gltf file into belnder via python script using bpy. ...
Yaroslav Sotnyk's user avatar
0 votes
0 answers
16 views

Obtaining joint-local rotations of armature with python

I have written scripts that take as input the joint-local rotations (in quaternions) of an armature. All works as expected when extracting these rotations directly from a .bvh file and converting them ...
wolfg269's user avatar
0 votes
0 answers
22 views

Strange new bug in old code with >=4.0 - view_layer compair is not working?

I have an addon I wrote some years ago, around 2.80 days, it's been working fine since with some small tweaks along the way with version updates. But with version >=4.0 a new bug has shown up... ...
Psyonic's user avatar
  • 2,339
0 votes
0 answers
19 views

Faceshift Stream Data to Blender script help

Hi I am wondering if anyone may be able to help I am attempting to impliment a data stream from an old software called Faceshift Studio for mocap of a face using my Kinect with a depth sensor. Apple ...
Ectomia's user avatar
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-...
El Grillo's user avatar
1 vote
1 answer
31 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 ...
The Batman's user avatar
0 votes
0 answers
58 views

How can I use Python to develop a new tool Operator?

Tools generally have three stages: 1 Enter mode 2 Run and edit 3 Exit mode In the running edit mode, you can usually rotate the view How can I use Python to develop a new tool, maybe it can be called ...
VeengLoong's user avatar
0 votes
1 answer
48 views

Extract code from Blender Shaders

Still pretty new to blender here, but wow, i'm really enjoying working with it. Next question i've tried to search for information on, is: Is there any way to extract the input- and output-values from ...
Martin's user avatar
  • 11

15 30 50 per page
1
3 4
5
6 7
886