Questions tagged [development]

For coding questions about Blender development, including addon or script development with the Python API. Does not include general programming questions, non blender specific tasks or errors, nor compilation of Blender binaries.

Filter by
Sorted by
Tagged with
0 votes
2 answers
123 views

KeyError: 'bpy_prop_collection[key]: key "Specular" not found'

I'm kind of new on this. I just want to do simple stuff to develop MLOs YMAPs for RDR2 and RedM community. I installed this add-on to manage the assets but 95% of the time I'm having issues with the ...
Juan Ramirez Jorda's user avatar
0 votes
0 answers
27 views

why the child item moving incorrectly with other multiple items including the parent?

Why is the child object moving differently, when moving multiple items? pls check my video to Understand the issue
Anwar palliyalil's user avatar
0 votes
1 answer
59 views

Add-on Dev: Workflow using functions and modules?

First a small background story; I'm currently new into python development and I am teaching it myself on a hands on project. I'm developing an add-on in Blender 4.0 and sofar it goes all well (thanks ...
STRnine's user avatar
0 votes
1 answer
93 views

Select Element in Outliner "File Mode" based on Object Name

I've added an EDIT at the Bottom. I want to select the corresponding element in the "File View" Outliner Mode to the active Object in the scene context. Is this possible? I know its possible ...
Chris's user avatar
  • 833
1 vote
0 answers
19 views

How to color or overlay on vertices via the Python api? [duplicate]

For a plugin I am making, I need to highlight the vertices that the user hovers over. I could not work out this color assignment part yet. I have tried methods then found out they were obsolete. I ...
SKB_BGPL's user avatar
0 votes
1 answer
71 views

Calling view_all() operator from another context is not working specifically on 4.0 [duplicate]

I have this code in my addon. It just runs view_all() operator from another context. ...
Fatih's user avatar
  • 3
1 vote
1 answer
67 views

Can the blender api be used to create alternate viewport control modes

I am trying to build a workflow for painting equirectangular images. (I would pirate photoshop as I know it can do this but I am averse to running proprietary software) As seen in the image below I ...
NotImportant's user avatar
1 vote
1 answer
35 views

Addon doesn't work after restarting blender 3.3.1

I made an addon for blender (3,3,1). It works. I managed to install it. But after restarting the program, it stops working. At least the checkbox in the edit is active. I just can't find a solution to ...
WhiteFlame 's user avatar
0 votes
1 answer
50 views

PointerProperty for a particle system

Please, I would like to know How to make a pointer property for a particle system. My goal is having a prop that contains the particle system name and it updates when the particle system is renamed ...
Mostafa Samir's user avatar
0 votes
0 answers
72 views

Custom plugin documentation - Import Helper options

I'm a developer looking to write a plugin, but am having such a hard time finding docs on the options for many inbuilt blender functions. Specifically today I'm trying to customise the ...
Patrick S's user avatar
2 votes
1 answer
55 views

Gizmo culled depth doesn't take effect when mouse is hovered on it

I have created a GizmoGroup with the option DEPTH_3D enabled, which, according to the docs, "Supports culled depth by other ...
Colton Fox's user avatar
1 vote
0 answers
89 views

Get property that the operator was invoked for

Operators like anim.keyframe_insert_button can be invoked by right clicking a property or hovering over a property and hitting I. How does the operator know which ...
theres1's user avatar
  • 189
0 votes
0 answers
255 views

How can i create this (Ps2 Characters & Enviroment)

{ https://de.files.fm/u/mu93hd5qz } Hello I‘m wondering since days on how to make something like this. I wanna put myself as a „ps2“ character and i‘m curious on how he did it on the video. is there a ...
Damian's user avatar
  • 1
1 vote
0 answers
266 views

UV Map editing with python

I have been trying to figure out the best way to make a material for Minecraft blocks inside of my addon. Excluding special cases, a Minecraft block is a 1-meter cube that has an image texture of ...
Jacob Stone's user avatar
0 votes
1 answer
44 views

Changing order of props in input dialog (addon development)

I'm creating addon that adds couple of objects to the scene and I need to control input arguments. Figured out that the best way for me (with almost zero experience with python but 25+ years in other ...
Wh1T3h4Ck5's user avatar
1 vote
1 answer
90 views

Who owns Blender? [closed]

Blender is an program that has been growing over the past few years through the work of the community. The development of the program is to my understanding largely community based. Although some of ...
Lennart Knospe's user avatar
1 vote
0 answers
354 views

How to convert Blender as a Python module into an easily downloadable package?

I have successfully converted Blender 3.2 into a python module on Windows 10 and can import it into my Python 3.10 scripts and run bpy commands. As described in Building Blender as Python Module on ...
Torrin worx's user avatar
3 votes
3 answers
387 views

How do you work with a GitHub repo inside Blender.app/.exe? [duplicate]

What is a good method to update a GitHub repository without manually copy/pasting the entire repo into the Blender addons folder when developing Blender add-ons?
Torrin worx's user avatar
1 vote
0 answers
216 views

Group Custom Node Tree

I am using the built-in python script template 'Custom Nodes' to create a custom node tree, and when I have finished most of the works and try to group my nodes, I find the menu item 'Group' is ...
Xi Lu's user avatar
  • 11
0 votes
0 answers
103 views

Can a new Node for Compositor be implemented as an add-on? (vs. modifying Blender code)

My goal is to add a new Node to Compositor. Currently it does nothing but I can already add it from the Shift+A menu... wowewow, great success! Is it be possible to deliver the new Node as an add-on, ...
Jaroslav Záruba's user avatar
1 vote
1 answer
166 views

Different result between applying matrix to mesh and applying matrix to object

...
Colton Fox's user avatar
2 votes
1 answer
59 views

Custom Nodes: How to make something happen when node is added

I'm creating a custom node tree and custom nodes following the blender script templates - https://github.com/blender/blender/blob/master/release/scripts/templates_py/custom_nodes.py The template does ...
Ed Tate's user avatar
  • 5,186
0 votes
1 answer
86 views

MixRGB vs math performance for single/greyscale values

I would like to know if MixRGB still calculates the three color channels if the input is a number or grayscale value. I am aware the result is the same either way but, this matters for simplifying and ...
Zak Nelson's user avatar
1 vote
1 answer
201 views

Dynamic Paint displacement use wrong normals if placed after deforming modifiers

I've been trying to use the displacement option from the Dynamic Paint physics modifier after an Armature modifier, but it seems that the normals used for the displacement direction are from the raw ...
Hulifier's user avatar
  • 6,048
4 votes
2 answers
169 views

How can the linear-time cost of Blender's .children Python property be avoided in scenes with many objects?

While working on optimizing an add-on that creates/manages a large number of objects, I noticed that invocations of bpy_types.Object.children accounted for an ...
NeverConvex's user avatar
  • 1,257
1 vote
1 answer
809 views

How can I change the size of a modal operator popup dialog box?

I have a modal operator that invokes itself and is called from an AddonPreferences PT. I have been trying to scale_x without success. A row.scale_x works within the size of the entire modal, it is 3....
noyogi's user avatar
  • 25
1 vote
1 answer
161 views

Remove "Preferences:" label from AddonPreferences, no bl_label to " "?

I see no "bl_label" in "AddonPreferences" in the Blender API. One of the buttons in my AddonPreferences is "Preferences" and it would be nice to remove the default "...
noyogi's user avatar
  • 25
0 votes
0 answers
40 views

What areas of mathematics will help me in creating this add-on?

I want to create an add-on like this. It edits the selected edge, adds vertices to it ( as much as you need - the parameter will be adjusted ), creates the curvature we want. I want to make this add-...
White Raven's user avatar
  • 1,055
1 vote
0 answers
581 views

Cannot import nested Python module when writing an add-on

I am working on my first add-on, though I am pretty experienced with Python having written multiple apps using Django. My project structure looks like this: ...
michael_vendler's user avatar
1 vote
0 answers
23 views

Info Node Eevee Integration [closed]

I am currently working on an integration for a length socket in the Hair Info node and got it working in cycles allready, but am currently struggling to find out where in the code the shader values ...
LasseF's user avatar
  • 11
4 votes
2 answers
433 views

Camera solving - what algorithm is used?

Note: this question is about how Blender is implemented, not how it's used. IIUC, Blender uses 8 points (or more) at two keyframes to calculate the position in space of the camera. What is the ...
Barak's user avatar
  • 573
0 votes
1 answer
187 views

Blender addon development [closed]

I have a hard modelling addon idea for blender. I have no coding experience and have no idea where to even start with learning coding or what I need to learn. It's an add on building on an existing ...
Max Lee's user avatar
1 vote
0 answers
303 views

Blender Dev. Custom properties set hide or non editable

I was wondering if is a way to hide or set as non editable a custom property. In Phyton i can use: object[ label_property ] = value_property I need to said... ...
user70587's user avatar
0 votes
2 answers
194 views

Menu list keeps on growing every time I debug my Operator script [duplicate]

This is a question about the process of developing an addon rather than a specific error in the script. I'm creating an Operator that I want to show up in the UV Unwrap menu. I'm editing the script ...
kitfox's user avatar
  • 1,616
2 votes
0 answers
109 views

Help me understand the viewport render pipeline with cycles

I am trying to understand the pipeline that creates a rendered image in the viewport with cycles from start to finish in the blender/cycles source code. A little bit of context (Skip if not interested)...
Alpengringo's user avatar
0 votes
1 answer
132 views

Git Flow when coding for blender

I am sry if this is the wrong place to ask this or if this has already been answered elsewhere but I couldn't find it. I am confused about the git workflow when coding for blender: When I clone the ...
Alpengringo's user avatar
1 vote
1 answer
312 views

Extending Sverchok - Development of new nodes in a separate addon

TL;DR: Is Sverchok designed to have their node list extended by third-party addons? If so, are there any formal templates to follow? I would like to play with the idea of developing new nodes for ...
user109785's user avatar
3 votes
0 answers
243 views

Is there a way to insert an operator into a menu?

I've written an add-on for saving files, and I want to insert it into the file>save menu. But if I use ...
stib's user avatar
  • 865
1 vote
0 answers
119 views

Viewport with external application?

Is it possible to display/draw the viewport of Blender in an another application? eg. Run blender in the background to display the wireframe view of a Blender file within another app? (Sorry if this ...
Dan's user avatar
  • 951
2 votes
0 answers
104 views

How to add my own SECOND splash screen

I want to add a second splash screen that will appear when I start blender and in which I can add my own text. This is necessary for my addon.
user78950's user avatar
  • 159
2 votes
0 answers
2k views

How the Blender 3D 2.8x Graphical User Interface is Made?

I want to know all the processes, functioning, involved languages, examples of code, and URLs to official sites with updated information if possible. NOTE: I'm not a programmer. I just want to know ...
DATALOT's user avatar
  • 182
0 votes
3 answers
1k views

Looking for Blender source code of version 2.79.7

Where can I find the source code, corresponding to this exact build 2.79.7 blender-2.79 e045fe53f1b0 ? - https://download.blender.org/release/Blender2.79/latest/
Wisi W's user avatar
  • 1
2 votes
1 answer
752 views

Accessing Blender's DNA Mesh struct via as_pointer()

How can I access the actual structure of a Mesh datablock in memory using the value returned from bpy.types.Mesh.as_pointer() In 2.79 Blender there used to be a possibility to do that by just passing ...
D. Skarn's user avatar
  • 695
0 votes
0 answers
199 views

Connecting A Node Group Between Principled and Output Shaders With Python

I am aware I could do ...
Ned's user avatar
  • 31
2 votes
1 answer
355 views

context.material.node_tree - context has no attribute to material?

I am trying to write an addon, I am making a node group that will be created with a single button however I have run into issues with these final lines: ...
Ned's user avatar
  • 31
2 votes
1 answer
625 views

Query if modifier exists on listed objects [duplicate]

I'm new to Blender and the way it works with Python, so I still don't understand quite well the way the different commands work. But I wanna create a small tool where i can assign a modifier to a ...
Eunice Panduro's user avatar
2 votes
1 answer
104 views

How to remove the upper tabs from the UI?(i.e Layout, Modeling, Sculpting etc.)

I want to streamline the UI of Blender from the source, so I was wondering where I could find the code concerning those tabs because all of them are very overwhelming and I would prefer to either ...
Kartik Kshirsagar's user avatar
1 vote
2 answers
543 views

How do I add an .obj file from a relative file location?

I need help adding an .obj file via scripting. I've tried using this line of code, but I'm having issues importing the obj file: ...
VortexHero's user avatar
1 vote
0 answers
74 views

How do you go about solving a bug in Blender: language selector in python console

For example, based on: Purpose of the languages selector in the Python Console I am familiar with git and reporting a bug. But my question is: How do you go about solving such a bug? Blender uses C/...
Yousif Tareq's user avatar
1 vote
0 answers
73 views

Where is the core code that makes up Blender's ShapeKey? [closed]

I'm looking for the core C / C ++ code that makes up Blender's ShapeKey. I'm looking for Blender standard features, not add-ons. I know Blender is open source, but I'm an amateur about Blender. ...
gncc's user avatar
  • 153