Macro CenterFace

Description
This macro red trace (editable) the center face (mass) with 1 point and print the coordinates.



Usage
Select one face and launch the macro. 1 point to face are coloured red (can be changed).

To change the color of the dot change the lines 36, 37, 38

red  = 1.0  # 1 = 255

green = 0.0 #

blue = 0.0  #

The center of the face (mass) surface and the XYZ coordinates of the face are displayed in the report view.

Icone
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_CenterFace.FCMacro

Version
ver 0.2 07/10/2018 : upgrade for FC 017 "getGlobalPlacement"

ver 0.1 29/04/2014