Skip to main content

Questions tagged [python]

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.

Filter by
Sorted by
Tagged with
2 votes
2 answers
40 views

I am experimenting with the Import CSV node in Blender. I have Blender open alongside a text editor where I edit my CSV file, and I would like an easy way for the new data to update automatically in ...
Alex's user avatar
  • 29
1 vote
1 answer
25 views

I'm coming from a Maya MEL background so total newb to Blender & python, so thanks in advance for any advice to point me in the right direction. I've been giving this a google for a good couple of ...
David's user avatar
  • 21
3 votes
1 answer
41 views

I'm making an addon for Blender and I want to create a new Panel in the mesh properties. I managed to do it, but it appears on every object type: Cameras, lights, empties, etc. This is because the <...
Aeven dev's user avatar
3 votes
1 answer
177 views

In top-right part of 3D Viewport, the Navigation Gizmo has multiple components: Axis gizmo View gizmos I have a custom operator which meant to be executed only when mouse pointer is above VIEW_3D <...
Yaroslav_A's user avatar
2 votes
1 answer
79 views

In Blender, in the Material tab, there are different properties such as Base Color (1), Metallic (2), etc. I need to find a way to determine which property the mouse pointer is currently hovering over....
Yaroslav_A's user avatar
1 vote
1 answer
65 views

I have an MP4 file that I want to add as a new video strip to the Video Sequencer Editor using an addon or a script. The following Blender API code adds the video, but the playback speed becomes ...
Ambrus Attila's user avatar
0 votes
1 answer
62 views

In blender 5.0 beta there is the new array modifier. ( in the background it is actually a "geometry node group" ) The modifier can be added and updated via python with: ...
sc3_2's user avatar
  • 3
0 votes
1 answer
42 views

In Texture Paint mode there are two color swatches in the top left corner: If press E above a color swatch – color picker will appear: it's ...
Yaroslav_A's user avatar
1 vote
1 answer
44 views

I have some code that generates a curve: ...
Midas's user avatar
  • 179
3 votes
1 answer
138 views

I'm trying to work with action slots through python scripts and I need to understand how they work, really. The docs say action slots allow an action to animate multiple objects--so far so good. I can ...
Bad Dog's user avatar
  • 33
1 vote
1 answer
57 views

Using Blender 4.5.3, I am trying to automatically generate a list of shapekeys for each mesh object that is a child of the armature that the UI script is running on. The count and the names of the ...
JawSFM's user avatar
  • 13
0 votes
1 answer
62 views

How to create a new image texture using python scripting ? I tried this : ...
zeekcarrara34's user avatar
0 votes
0 answers
22 views

When I create strokes with the Annotation Tool, I can access and move individual points of a stroke like this ...
Joey's user avatar
  • 101
0 votes
0 answers
38 views

I've stored a vertex's coordinate in a variable but when I re-enter edit mode - values are different! Why? ...
bafly's user avatar
  • 21
0 votes
4 answers
76 views

If I have two lists, each containing an x, y, z, and a radius at that point, how can I make a tapered cylinder connecting the two points, with the radius of the cylinder equal to the specified radius ...
le_chat's user avatar
0 votes
0 answers
20 views

I’m launching multiple Blender renders through Ray on a private machine with four A100 GPUs, using fractional allocation (@ray.remote(num_gpus=0.25)) so up to 16 render processes start concurrently. ...
Sailorman's user avatar
3 votes
1 answer
122 views

I know it's super easy to select all the lights in a scene. But what if I want to select all the mesh lights in a scene? For example, here I have the Blenderman: I've turned off all objects of type '...
Anson Savage's user avatar
  • 3,630
0 votes
1 answer
62 views

I am running baking operation for blender through python script but its taking a lot of time due to update image operations running for same mesh. (total time 23 mins) I need to optimize the process ...
Kaustubh Jha's user avatar
2 votes
1 answer
75 views

I'm aware this question may not belong in this forum, but I'll try to ask anyway. Given a triangle formed by 3 vertices (v1, v2 and v3), I want to generate a perfectly rounded tip on it in the form ...
Midas's user avatar
  • 179
2 votes
1 answer
50 views

I'm trying to import models from a video game into Blender. The tools I have to dump the models gives me a rigged-but-unanimated FBX as the main model, and a second file in a custom format that ...
devvoid's user avatar
  • 37
0 votes
0 answers
34 views

I'm trying to copy N times a grease pencil frame and then iterate over their .drawing.strokes for doing some other things. My problem: Right after copying them, ...
Ommadawn's user avatar
  • 658
0 votes
0 answers
23 views

I'd like to pack island by calling the operator from code with a low level override. Here it is: ...
Kabu's user avatar
  • 808
1 vote
1 answer
55 views

I’m working with Blender and have a particular workflow where I want to make sure that newly created objects are NOT automatically added to a certain target collection, even when that collection is ...
Sudam Patil's user avatar
2 votes
1 answer
104 views

I'm working on a Blender Python add-on/script, and I need to position a light source so that it stays fixed at the top-center of the 3D Viewport, similar to how UI elements behave in screen space. 🎯 ...
Sudam Patil's user avatar
2 votes
1 answer
62 views

I have a geometry node group that takes a "seed" input, which will be used for "Seed" input of different "Random Value Node" nodes inside this node group. However, I want ...
almarouk's user avatar

1
2 3 4 5
273