Questions tagged [api]
The api tag has no usage guidance.
8
questions with no upvoted or accepted answers
1
vote
0
answers
20
views
Subtracting overlapping 2D mesh with Python using Blender API
Supposing I have two 2D mesh objects, A and B.
I would like to programmatically subtract the overlapping portion of one from ...
1
vote
0
answers
47
views
Python: trigger manual rotation
I'm writing an add-on for Blender, and I'd like to create two different key mappings for rotation: one will rotate around the median point, the other around the cursor. In each case, the plan is to ...
1
vote
0
answers
33
views
Reading ShaderNodeHueSaturation color output
I am trying to read the color from an HSV-Node via the scripting api.
This is my material shadernodes tree (simple test scene, no other materials etc). I have confirmed that the HSV node is correctly ...
0
votes
0
answers
10
views
Blender script: how to determine if a vertex from one 2D mesh is inside another?
Using the Blender API, what is the best way to find out if a vertex from one 2D mesh is inside another?
All I want is a simple yes/no is a point inside a mesh. But even something this fundamental is ...
0
votes
0
answers
20
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 ...
0
votes
0
answers
29
views
How to add a collection from a Blend file via add-on code?
This is my current code:
...
0
votes
1
answer
20
views
Cannot load .blend file from Python script
I am struggling to find out the source of the segmentation fault I get when I try to load a file from a Python script (specifically a production shot of Charge). I try to call:
...
0
votes
0
answers
29
views
Undocumented API change between 3.5 and 3.6 UV Map
I have a script that duplicates a sourceobject N times, one for each entry in a array, and then scales the UV for that object to 1/n the height, and moves it vertically in the UV map to not have ...