Macro BoundingBox Tracing/en

Description
This macro red trace (editable) around the BoundingBox 6 Faces with 6 rectangles.



Use
Select the object and launch the macro. 6 rectangles are colored red (can be changed)



If createVol = 1 (Line 33) one volume is created

Icon
Download the file image and copy in your macro repertory.

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



Script
Macro_BoundingBox_Tracing.FCMacro

Options
To change the color or other options change the values lines 31 to 49 Section configuration

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

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

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

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

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

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

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