Sketcher CreateRegularPolygon

Description
Draws a regular polygon inscribed in a construction geometry circle. When starting the tool, a box apears asking for the number of sides of the regular polygon. Once the button is pressed the mouse pointer changes to a white cross with a red hexagon icon. The coordinates of the pointer are shown beside it in blue in real time.

How to use

 * After pressing the button, define the number of sides of the polygon in the pop up box and confirm by pressing the  button.
 * Click once to set the center, then move the mouse and click a second time to set one of the vertices.
 * Pressing or clicking the right mouse button cancels the function.

When editing the sketch the circumscribed circle is visible, when you close the sketch is hidden.