3
$\begingroup$

Imagine a scene containing multiple objects, for example a bed and a chair. The bed and the chair aren't blender-objects themselves, but they consist of many subobjects. To view the dimensions, rotation etc of one of these subobjects is not a problem, but what if I want to see the dimension of the whole bed? I have thought about parenting all sub-bed-objects to one of the parts or adding them all to a group. However, so far I have not been able to figure out how to display the dimensions of a whole group. How could I do that?

$\endgroup$
  • 1
    $\begingroup$ Blender does not support editing groups of objects in Properties Editor and N-toolshelf, it only works for the active object. You would have to join all your objects together. $\endgroup$ – CoDEmanX Jul 15 '14 at 15:57
5
$\begingroup$

I have created an addon that will create a mesh cube that encompasses all selected objects. Of note is that non-render objects such as camera, lamp and lattice objects report there bounding box as a zero size cube, this can lead to a cube of zero size that is only seen in the outliner.

To use you can save this link to your addon folder or to somewhere convenient and use the Install from file button in the preferences. You will then find Create Bounding Box under the Add Mesh menu.

This will give you a single object that clearly shows the outer dimensions in the object properties as if all objects had been joined.

enter image description here

$\endgroup$
  • $\begingroup$ Like your script! Good example how to write a script for me. Also, it does help getting the dimensions of a group of objects :) $\endgroup$ – user1809923 Jul 30 '14 at 7:23
  • $\begingroup$ I'm trying to use it as function not an addon this is my attempt but it's not working pasteall.org/blend/index.php?id=45713 could you please advise? $\endgroup$ – Tak Feb 26 '17 at 21:59
  • $\begingroup$ Calling 'object_data_add` gets properties like loc/rot/scale from the calling operator, as you aren't using an operator you set it as None and manually set the location. Working script here $\endgroup$ – sambler Feb 27 '17 at 7:36
  • $\begingroup$ @sambler thank you very much, but it's not working properly as shown here pasteall.org/blend/index.php?id=45724 if you switch between commenting each last two lines in the script you will see the difference. $\endgroup$ – Tak Feb 27 '17 at 7:59
  • 1
    $\begingroup$ @sambler for some reason when I do the scaling before calling the function it doesn't work. I tried running the scaling part from one text block then running your script from another text block and it works fine. Once I place them together it doesn't work. $\endgroup$ – Tak Feb 27 '17 at 8:09
0
$\begingroup$

Blender doesn't support showing dimentsions of dupli-group instances or children (directly), You can however use the Ruler to measure it, hold Ctrl to snap to the extents of the objects.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.