As the name suggests, the Circle is a parametric Shape where all the vertices are equidistant from a single point, the center.

 

Parameters

The the Circle has a three control parameters that define its geometry.

radius

The radius of the circle sets the distance in units of each vertex from the center of the Circle.

segs

The number of segs determines the number of facets in the Shape, but also the number of vertices. Any meshes generated by the circle may be optimized or decimated by reducing the segs count.

rectifyvoila_capture-2016-12-05_07-02-07_pm

The rectify parameter comes in hand when dealing with a odd number of segs. If the shape is rectified, then, rather starting with a vertex falling on the X-axis, the Cicle is turned so that one facet is parallel to the X-axis. This comes into play for Shapes with small segment counts such as a pentagon.

Handles

voila_capture-2016-12-05_08-14-20_pm

The only Handle described for the Circle Shape is a Circle Handle, which features two sub-handles:  a Point Handle locked to the X-axis, which controls the radius parameter, and a Tangent Handle that is perpendicular to the X-axis and controls the segs parameter.

Logic

voila_capture-2016-12-05_07-31-36_pmThe logic of the Circle is based on an arcl Turtle command in AX Script. The first lines limit the segs to an integer between 1 and 64 and the radius to a minimum of .01 units. a temporary variable called hang is used to rectify the Circle if the rectify parameter is set to true.