1 .. |circle.icon| image:: images/circle.png
6 The feature Circle creates a circle in the current Sketch.
8 To add a new Circle to the Sketch:
10 #. select in the Main Menu *Sketch - > Circle* item or
11 #. click |circle.icon| **Circle** button in Sketch toolbar:
13 There are 2 algorithms for creation of a Circle:
15 .. figure:: images/circle_pt_rad_32x32.png
19 **By center and passed point** creates a circle with the given center passing through the given point.
21 .. figure:: images/circle_3pt_32x32.png
25 **By three points** creates a circle passing through the given three points.
27 -------------------------------------------------------------------------------------------
29 By center and passed point
30 """"""""""""""""""""""""""
32 .. figure:: images/Circle_panel_pt_rad.png
35 Click in the view once to set the center point, then move the mouse and click a second time to set the passed point.
37 - When entering a center point by selecting either a point or a segment, a Coincident constraint is created.
38 - When entering a passing point by selecting a point, a Coincident constraint is also created.
39 - When entering a passing point by selecting a segment, a Tangent constraint is created.
43 .. py:function:: Sketch_1.addCircle(CenterX, CenterY, PassedX, PassedY)
47 :param real: Passed X.
48 :param real: Passed Y.
49 :return: Result object.
54 .. figure:: images/Circle_panel_3pt.png
57 Click in the view once to set the first passed point, then move the mouse and click a second time to set the second passed point
58 and finally move the mouse and click a third time to set the last passed point.
60 - When entering a passing point by selecting a point, a Coincident constraint is created.
61 - When entering a passing point by selecting a segment, a Tangent constraint is created.
65 .. py:function:: Sketch_1.addCircle(X1, Y1, X2, Y2, X3, Y3)
69 :param real: Passed X.
70 :param real: Passed Y.
73 :return: Result object.
75 Property panel in edition context
76 """""""""""""""""""""""""""""""""
78 The following property panel appears when the user selects an existing circle.
80 .. figure:: images/Circle_panel_edit.png
83 Note that the edition property panel does not show the used creation algorithm.
87 - center coordinates and radius (read-only).
88 - auxiliary flag (can be modified).
93 Created circle appears in the view.
95 .. figure:: images/Circle_res.png
100 **See Also** a sample TUI Script of :ref:`tui_create_circle` operation.