Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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).

Filter by
Sorted by
Tagged with
0 votes
1 answer
50 views

How to retrieve a mesh's world-space bounding box in Blender?

I've seen several ways to get the bounding box of a mesh in Blender, but I noticed that Blender already calculates it. Is there a way to directly retrieve the world-space Axis-Aligned Bounding Box (...
Container's user avatar
0 votes
0 answers
60 views

How do I install a Blender Extension using the standalone bpy module (outside the GUI)?

I'm trying to figure out the correct way to install a Blender Extension using the bpy API. I tried using ...
Indigo Kohn's user avatar
0 votes
1 answer
57 views

New Blender add on system orphan vs. legacy

Can somebody in this community explain me something more detailed about the new blender add on system? I ‘am developing small addon’s. Until 4.3 I never had problems with the installation of those ...
smice's user avatar
  • 253
3 votes
2 answers
237 views

How to automatically refresh or reload Import CSV node data?

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
  • 41
0 votes
0 answers
59 views

How to access brush in Blender sculpt mode using python script

In Blender, I define a tool in sculpt mode and set a timer: if the tool is activated, the draw brush will be accessed. But when I click leftmouse, it is binded with tweak operator, I want to know why &...
hutianyi's user avatar
3 votes
1 answer
69 views

Stopping a property Panel from appearing on objects of other data types

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
206 views

How to determine using Python whether the mouse pointer is hovering over the viewport navigation gizmos?

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
3 votes
1 answer
128 views

Creating a new menu in the Object mode top bar (header)

I'm making an addon for Blender and I want some of the functionality to appear in a menu next to the View, Select, Add, and Object menu in Object Mode. Something that looks like this: I know I can ...
Aeven dev's user avatar
3 votes
1 answer
108 views

Determine the name of the shader property under the mouse pointer

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
0 votes
1 answer
53 views

How to automate setting multiple machines to use OptiX Cycles Render Devices in User Preferences?

My goal is to be able to do this without manually opening Blender. I'm managing a render farm and I've noticed that some machines render faster. I found out it is because they have GPUs enabled with ...
AlexM's user avatar
  • 356
1 vote
1 answer
102 views

Video fps incorrect in Blender API new_movie() strip

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
66 views

Detect that operator is called above a certain color swatch

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
0 votes
0 answers
59 views

How to model Table Base with Geometry Node?

I want a base. that maintain some parameters, but also updates based on total table length and width. So if table width is 1000mm (sorry for the metric folks) I want the width of the base 600mm and if ...
barhoomo's user avatar
1 vote
1 answer
66 views

Is it possible to delete a screen without a workspace?

I'm making an add-on for the video editor, that pops up blenders text editor in a new window, which allows me to write texts with line breaks, and then (with a sidebar button) copy that text to the ...
Eduardo Isla Venegas's user avatar
1 vote
1 answer
60 views

Z position of curve resets to zero when edited

I have some code that generates a curve: ...
Midas's user avatar
  • 179

15 30 50 per page
1
2 3 4 5
444
Morty Proxy This is a proxified and sanitized view of the page, visit original site.