This script determines the roundness of a group of nodes which might be around the edge of any round feature or hole. It also reports the location of the circle center, radius and concentricity before and after warp.
Left picture: original model, Round Boss and selected nodes for the script.
Right picture: warped shape
The concentricity reports the movement (deflection) of the circle center, therefore like all other deflection results, it is dependent on the anchor plane defined. The “Out of Roundness” does not depend on the anchor plane defined.
Selected nodes are assumed to be planar before deflection and to be on the perimeter of a circle. This calculation works even if the nodes are unevenly spaced, non-symmetric or do not form a complete circle.
This script works for Midplane, DD and 3D. It works for small or large deflection analyses.
Script: Download Roundness2
* To get these scripts to work in Scandium (Labs-Release Link: Web: Labs-Scandium), you need to change the CreateObject call to say “Scandium.Synergy” instead of “Synergy.Synergy”.
Many thanks to Dr. Franco Costa for the script and his support for this article.