Unanswered Questions
1,058 questions with no upvoted or accepted answers
7
votes
0
answers
929
views
Scale operator icon OR make template_icon clickable
I am trying to present the user with a gallery view to select a item from the thumbnails. Ideally, they click a button, are presented with the gallery view, and with a single click choose the item. I ...
7
votes
0
answers
677
views
Update function for NodeSocket?
How do I set a callback for socket input change (value or link change) when having a custom node?
I have a socket defined like:
...
7
votes
0
answers
769
views
Hide filter options in UIList
I want the UIList to not show the filter options (inkl. the plus button).
I've use following flag:
self.use_filter_show = False
The flag disables the filters ...
6
votes
0
answers
578
views
Can I measure the UI font size with Python in order split text into multiple lines?
Is there any way to get the size of UI text, such as when using layout.label(text="message")?
I'm trying to create a simple message box popup that displays ...
6
votes
1
answer
2k
views
How to update compositing nodes via script?
I create some nodes in compositing via python script:
...
5
votes
1
answer
248
views
Finding which addon an operator belongs to
A recent question / answer involves what looks like an overridden operator:
bpy.ops.object.align()
Differing from the documented default, how do we find which ...
5
votes
0
answers
183
views
How to access Density/Flame grid via Python in 2.82 (Mantaflow)
Does anyone know how do I access the density/flame grid for the new Mantaflow fluid simulation engine in Blender 2.82?
The old path still exists:
...
5
votes
0
answers
2k
views
Addon not correctly reloading
Disabling my addon gives this error:
RuntimeError: unregister_class(...):, missing bl_rna attribute from 'RNAMeta' instance (may not be registered)
and re-enabling it gives this error:
ValueError: ...
5
votes
0
answers
164
views
Blender Python: Output Paragraph of Text?
Is there any built-in support for automatic line breaks when writing text to the UI, such as through the layout.label() function?
For example, if I set text that ...
5
votes
0
answers
354
views
Is there a way to make blender using slerp on quaternions?
I'm now working on a blender importer addon.
I have managed to import models and animations extracted from some game into blender successfully. The pose looks perfect most of the time, but at some ...
5
votes
1
answer
2k
views
ANT Landscape erode option?
I have just updated to Blender 2.79 and was playing around with the updated ANT landscape add-on when I noticed a new option called Landscape Eroder, this has the potential to be really cool but I can'...
4
votes
0
answers
673
views
How does blender make native icons with different colors?
I'm making an addon for blender and I want to change the color of the native icons used in the custom layout for a better visual experience.
I made this simple grid to display all possible icons, but ...
4
votes
0
answers
221
views
How to dynamically load a .dat icon (toolshelf icon)?
Using documentation here 2.80/Python_API/UI_DESIGN, I've managed to create a custom .dat tool shelf icon for use with an operator in my addon. The icon will display from my addon when registered from ...
4
votes
0
answers
2k
views
How to create a new node type to be used in shader editor?
I am trying to create a new node type (NOT a node group). For example a node that takes two floats as inputs and returns another float as output, and I can do whatever with python in between.
I saw &...
4
votes
0
answers
4k
views
*.JT CAD format direct import
Has anyone stumbled across a decent way of importing .jt CAD files into Blender? Direct import would be nice.
Currently I am using CAD Exchanger (paid license) but if someone is using an different ...