Macro Draft Circle 3 Points/pl

Description
This macro creates a circle on 3 selected points. The points can be objects such as cubes, cylinder, then selected coordinates will be the centre of these forms.

Usage
Select 3 points, or forms in the 3D view and run the macro.

If the shape is a line, the coordinate will be the center of the line.

Options
If the selected objects are on different planes, (xy Z10, xy Z2, xy Z5) the circle will be built on the map x,y Z=0.

If all of the selected objects have their equal Z coordinates (xy Z5, xy Z5, xy Z5), circle will be built to the plan x,y Z=5.

Script
ToolBar Icon

Draft_Circle_3_Points.FCMacro

Improved version
In addition to the previous features, this example is used to align an orthogonal circle on each shape in the selection, and the plan "'XY, YZ, XZ ' ' chosen.

The circle takes the color of the axis dedicated regardless of current color, and the center point of the circle is drawn (option O/N).

The settings to change.

Anaglyphe
Here an Anaglyph view that allows you to see two different positions of the view by using glasses with filters red and Cyan.

Watch alternately with the left eye and the right eye to see the views separately.

Credits
The genesis of the macro Draft Circle 3 Points on the forum (PYTHON) coordonnées d'un point helped flachyjoe thanks.

The formula comes from cercle_3pts.pdf and used with the kind permission of its author.