Questions tagged [source-code]

For questions relating to the blender c/c++ source code.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
29 views

How to check for an operator property

Trying to modify this to show up in the keymap instead of in toolsettings https://developer.blender.org/D6322 Creator says it was done as a tool setting so it can know when to draw facedots in xray. ...
1
vote
0answers
52 views

How to find python code of a built-in python operator?

To my knowledge, some built-in operators are written in python. This could be handy if I wanted to create a modified version of an operator for my add-on, since I could probably just copy the code and ...
1
vote
0answers
24 views

Is it possible to create editable 3D templates in blender?

I hope someone can help me: Is it possible to turn animations created in blender into editable 3D templates that can be used in websites or apps where users can edit the scale and add textures etc I’...
1
vote
0answers
15 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 ...
1
vote
0answers
17 views

running the blender on a single node of a cluster

Does any one know how to keep blender alive without doing any job on a single node of a cluster? because the addon (CrowdRender) I used to build render farm requires the access to a blender-running ...
1
vote
0answers
90 views

Can I build Blender source code using CLion?

I'm pretty new in Blender coding. I'm only did some small things using python scripting so far. I'm facing a problem where I wish to see more about the UI components of Blender (panels, icon viewers, ...
1
vote
0answers
43 views

Where can I find information on how to control stepper motors with blender?

My goal is to build a robotic arm I can control with blender. I've seen videos showing that blender has the capability to control thing in the real world, so I know this magic can be done. I just can'...
1
vote
0answers
36 views

Where should I start to learn the internals of Blender?

I have tried the new blender 2.8 canidate version and am impressed so much. I would like to learn more about the internals of it. Could you guys point me some links ? I will appreciate it. Thanks! /...
0
votes
0answers
21 views

Hot Key for Manifold Extrude

I know that in the beta release of Blender 2.9 there is the new manifold extrude function. It allows you to erase the edges or walls from an extrude and helps provide a quicker hard surface modelling ...
0
votes
0answers
22 views

Can addons be written in C to modify parts of Blender inaccessible through Python?

My experience with and understanding of coding is currently limited to three college courses on programming for business with Java, but I'm trying to learn how to code stuff for Blender. I want to ...
0
votes
0answers
26 views

How do I find the source code for the Diffuse node?

There are a lot of tutorials about using nodes, a lot of tricks and only a bit of physics or maths that creates it. I know that everything is written in Python, but how to find source code or maths ...
0
votes
0answers
29 views

Why is Blender not procedural?

best example, changing the vertices after you add a circle, same with cylinder, sphere segments and so on. I think it is in the most 3D software like Maya, C4D and Houdini of course. Has it something ...
0
votes
0answers
14 views

Enable add-on using script doesn't work

I am trying to install and enable the add-on using api in the centos 7.6.1810 aarch64. The add-on can be installed into add-on folder and no error reported when enabling it. However, the status of the ...
0
votes
3answers
86 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/
0
votes
0answers
23 views

How to check the code of a Blender Operator?

So we can access UI element of blender's python code, but what If I want to inspect, check or study the code of existing operator in blender? Is it accessible anywhere?
0
votes
0answers
23 views

How to position the popup menu better?

Right now right-click popup menus will roughly center around the mouse cursor, which is uncomfortable because this way the popup will entirely obscure anything beneath the cursor. Normally on the ...
0
votes
0answers
12 views

Where to find the Logic Editor's Startup Routine in the source?

I've changed something in bpy__init__.py which led to the GUI not being build properly. The logic editor however was loaded correctly. I noticed that it is not possible to right-click and "Edit Source"...
0
votes
1answer
62 views

Visual Studio can't read submodule definitions in Bpy

OS: Windows Python version: 3.7.4 (is in path, system wide install) Blender version: 2.83 (from current source) Issue: I can't get Visual Studio to show code suggestions past the main bpy level. ...
0
votes
0answers
28 views

Vertically align toolshelf

I want to vertically align the toolshelf, so the main UI looks that way: If you noticed, I've already moved the navigation gizmo and associated buttons, but I've been digging into the source code and ...
0
votes
0answers
22 views

Debug build of blender won't start (release works)

This is the error I get with debug configuration. Release works fine. Visual studio 2019/Windows 10
0
votes
0answers
30 views

Can I change a Thumbnail image without having to click on it (change it by code)?

I'm creating an Addon for Blender 2.8 where use a thumbnail panel: Here is my code: ...
0
votes
0answers
23 views

Retrieve Ray Tracer data

I need to be able to, given a scene in Cycles, extract the values of direct lighting intensity and angle of incidence for every light ray that hits a mesh. The final goal is to use these values to ...
0
votes
0answers
82 views

NameError: name 'value' is not defined

Whenever I try to click on anything, this message pops up. I've restarted, uninstalled and reinstalled, and now it seems changing the code is my last hope if I want to use Blender. Please Help!!!
0
votes
1answer
132 views

Viewport output on videocard

we are currently looking into the possibility of adding monitoring of a fullscreen viewport on SDI videocards, like the Blackmagic Decklink or Blackmagic Ultrastudio. Blackmagic Design has a SDK, with ...