Macro BoundingBox Tracing/ru

Description
This macro creates a red outline of the BoundingBox (6 Faces with 6 rectangles) of an object, display the dimension of the rectangle, create volume of boundBox.


 * Macro BoundingBox_Tracing_00.png

Применение

 * 1) Select an object
 * 2) Launch the macro
 * Result: 6 rectangles will be outlined in red.


 * Macro_BoundingBox_Tracing_01.png

Примечания
Конфигурирование: смотри строки с 61 по 84.

Icon
Download the file image and copy in to your macro directory.

Click the image, in the new window position the mouse over the image, click the right mouse and do "Save target as ..."

ToolBar Icon

Скрипт
Macro_BoundingBox_Tracing.FCMacro

Версия
Version: 0.12 Date 2021/07/10: upgrade by edwilliams16 to handle objects in nested part containers. FCInfo CG of assemblies corrected the global placement, thanks edwilliams16

Version: 0.11 Date: 2019/05/29: "nameLabel = str(unicodedata.normalize('NFKD', nameLabel).encode('ascii','ignore'))" instead "def"

Version: 0.10 Date: 2019/05/23 upgrade > 0.19 and supp the "éçà.." with def not encode....

Version: 0.9 le 2018-10-12: add test > 17

Version: 0.8 Date: 05/10/2018: upgrade the ver 0.8 compatible with FC 0.17 (getGlobalPlacement)

Version: 0.7 Date: 28/01/2018: correct error with label accent "nameLabel = unicodedata.normalize('NFKD', nameLabel).encode('ascii','ignore')"

Version: 0.6 Date: 08/08/2017: add text info dimension, contener for rectangles, info rectangles, info volume, add section configuration color , label object selected

Version: 0.5 Date: 08/05/2017 : upgrade now accept the "mesh" and "Points" thanks wmayer Makro Bounding-Box für STL importierte Teile und für Punktewolken

Version: 0.4 Date: 04/06/2016 : test if value = 0 then not create boundbox (ex: object Draft)