Macro Draft Circle 3 Points/it

Questa macro crea un cerchio da 3 punti selezionati. I punti possono essere oggetti quali cubi o cilindri, quindi le coordinate selezionate saranno il centro di queste forme.

Utilizzo
Selezionare 3 punti o forme nella vista 3D poi avviare la macro.

Se la forma è una linea, le coordinate sono date dal centro della linea.

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
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.