Sketcher CreateEllipseBy3Points/es

Description
This tool draws an ellipse by picking three points : (1) the Periapsis ( First crossing of longer diameter with ellipse), (2) the apoapsis ( Second crossing of longer diameter with ellipse), (3) one point on a side of the longer diameter (a) defining the minor radius (b). (c) is the resulting center and (f) are the focal points.

When starting the tool, the mouse pointer changes to a white cross with a red ellipse icon.

''The sequence of clicks is indicated by yellow arrows with numbers. 1 is the periapsis, 2 is the apoapsis, 3 is the defining point for minor diameter, green lines are major and minor diameters. Blue lines are random construction lines just for illustration purpose.''

Usage

 * Invoke the command by clicking a toolbar button, picking the menu item, or by using keyboard shortcut (needs to be assigned first in Interface Customization).
 * First click in 3D view sets a point that defines the crossing of the major diameter with the ellipse ( periapsis ). Second click in 3D view sets a point that defines the crossing of the major diameter with the ellipse opposite to the center point( apoapsis ). Third click sets a point on the ellipsis defining the minor radius.


 * After the third click, the ellipse is created, together with a set of construction geometry aligned to it (major diameter, minor diameter, two foci). The construction geometry can be manually deleted if not needed, and recreated later. See Internal Alignment Constraint and Sketcher Show Hide Internal Geometry.
 * Pressing or clicking the right mouse button cancels the function.

Peculiarities

 * Major and minor axes of ellipses are strict and cannot be swapped by resizing the ellipse. This is a consequence of the solver parametrization used (center (x,y), focus1 (x,y) and minor radius length (b)) and the same strict behavior of OpenCascade. The ellipse must be rotated to swap the axes.
 * Ellipse can function as a circle when its major and minor diameter lines are deleted, and one of the foci is constrained to coincide with the center. But radius constraint won't work on such a circle.
 * Moving the ellipse by edge is the same as moving ellipse's center.

Version
Introduced in FreeCAD v0.15.4309