Blender 3D
Creating pop-up panels with user UI in Blender add-on
In addition to common panels (N/T/Properties) and their sub-panels, to display the user interface elements while developing Blender add-ons you can also use pop-up panels appearing on the screen when a user presses a certain key combination or perform any action. The simplest example of such panels is the panel that appears when the f6 key is pressed immediately after adding an object (shift+a) to the scene.
Blender API provides developers the ability to create such panels for their add-ons. Let’s consider the creating of a pop-up panel as an example of the “Message box” window.
Creating pop-up panels with user UI in Blender add-onRead More »
Modeling with curves: wires and pipes
Creating thin long objects like pipes and wires is the often task in the interior, scientific of fantastic scenes. One of the easiest and most convenient ways to create such objects is using curves.
The main curves advantage is the easiest control and editing: any time you can change the shape of the curve, move its points, add new and delete unnecessary ones. You do not have to work with a lot of mesh points, but only with several points of the curve, which is much more convenient. Preprocessing for rendering scene with curves is also performed faster than with meshes.
Splash screen for 2.79
Blender Cloud published splash screen for the upcoming 2.79 release.
*.blend-file with the whole scene can be downloaded from the same page.
Installing Blender on Linux Debian server
One of the amazing Blender features is that the graphical user interface GUI is not absolutely necessary for its work. You can install Blender on an operating system without a graphical shell and successfully render your scenes. Such types of a Blender installations are usually required to organize various render farms.
For example, consider Blender installation on the server Linux Debian operating system.
BIS v.1.0.0 – Release
BIS (Blender Interplanety Storage) add-on release.
Finally, I finished it. It’s release now!
- The server part of the storage has been put in order.
- The external and internal design of the BIS website is finished: https://bis.interplanety.org/en
- Fixed and corrected some add-on code.
- Updated the BIS description page: https://b3d.interplanety.org/en/bis-online-blender-material-storage/
- Fixed a number of minor bugs and errors.
BIS add-on v.0.0.3
BIS (Blender Interplanety Storage) add-on intermediate update to v.0.0.3
The addon is almost in the prerelease state.
- All Cycles nodes are supported, including script and nested groups.
- Also added the ability to save scripts/texts from the Text Editor.
To make a release, it was left to clean up a bit the server (site) side – increase the size of the previews, add tags and node names editing, make a separate list for saved texts. And also test the add-on with complex materials.
Active objects access
How to access the active (selected) objects through the Blender Python API from scripts/add-ons:
- The active window (in which current action occurs):
1 |
bpy.context.area.spaces.active |
- The active scene:
1 |
bpy.context.screen.scene |
- The active (selected) mesh:
1 |
bpy.context.active_object |
- The active (selected) material node (in the NODE_EDITOR window):
1 |
bpy.context.active_object.active_material.node_tree.nodes.active |
- The active (selected) material node (in the COMPOSITING window):
1 |
bpy.context.scene.node_tree.nodes.active |
- The current text in TEXT_EDITOR window:
1 |
bpy.context.area.spaces.active.text.as_string() |
- The active (selected) UV-Map:
1 |
bpy.context.active_object.data.uv_layers.active |