2.91

How to find which collection contains the desired object

If the object you need is located in a hidden collection, it can be difficult to find it in large scenes.

To find out in which collection the desired object is located by its type, we need to execute the following. For example for cameras:

This code will return a list of cameras and collections in which they are located.

How to calculate the Bounding Sphere for selected objects

Most often, for quick simplified calculations with the object’s geometry, their Bounding Boxes are used – the minimum parallelepiped into which this object is inscribed. But sometimes the Bounding Sphere – the minimum sphere into which an object can be inscribed – can provide greater accuracy and simplify the calculations. While the location and size of the object’s Bounding Box is available in Blender at once, the Bounding Sphere we need to calculate manually

Let’s write a function that, based on the object list, returns the coordinates of the center of their Bounding Sphere and its radius.

Multiline text in Blender interface panels

Unfortunately, Blender’s interface does not support word wrapping and multi-line text blocks. Text lines that are too long to be displayed in the panel are cut off. However, multiline text can still be displayed on the panel using several text elements instead of one.

First, let’s create a simple panel in the N-panel of the 3D Viewport window and place a label element with the desired text on it.

BMusic Player

BMusic Player

Are you crazy about music? Music can change the mood and talk to you. Listening to music is a favorite hobby and entertainment for most people.

Here is an addon that does the job for you. ‘BMusic Player’ is an addon that takes all the music to one place inside Blender. Plays almost any format like mp3, wav, FLAC, M4A, aac etc. In addition to it, there will be detailed documentation about the addon and you can check it here.

BMusic Player v1.0.1 (Initial Release)

Key Features:

  • Custom icon set.
  • Popup music player.
  • Custom shortcut key.
  • Supports almost any formats like mp3, mp4, wav, M4A, aac, FLAC etc.

BMusic Player v1.0.2

Planned Features:

  • Sleep timer.
  • Personal playlist option.
  • Change the playback speed.
  • Multiple key mapping.
  • Default music folder.

pre-order before 25th evening to get 25% discount use coupon code birthday

Finally feel the music…!