Sketcher CompCreateConic

Description
Create a conic is an icon button in the Sketcher geometries toolbar that groups tools to create curves based on a section of a cone. Click on the down arrow to its right to expand the icons below it and select a tool.

Types of conics

 * Sketcher_CreateEllipseByCenter.svg Ellipse by center : Create an ellipse by center point, major radius point and minor radius point.
 * Sketcher_CreateEllipseBy3Points.svg Ellipse by 3 points : Create an ellipse by major diameter (2 points) and minor radius point.
 * Sketcher_CreateArcOfEllipse.svg Arc of ellipse : Create an arc of ellipse by center point, major radius point, starting point and ending point.
 * Sketcher_CreateArcOfHyperbola.svg Arc of hyperbola: Create an arc of hyperbola.
 * Sketcher_CreateArcOfParabola.svg Arc of parabola: Create an arc of parabola.

Scripting
FreeCAD Scripting Basics.

To activate an create conic edit mode run the command with index.

The second argument is the create conic type. The following types are available:

0 = Ellipse by center 1 = Ellipse by 3 points 2 = Arc of ellipse 3 = Arc of hyperbola 4 = Arc of parabola