Draw Shape Mode

NEW IN UNOFFICIAL 2.10!
Creates shapes, this tool peforms the same as Draw Ellipse Mode and Insert Things Radially Mode but with added functionality.
Default key: Alt-D.

This mode lets you draw various shapes, including but not limited to:

Triangle 3 Sides, no spikiness.
Square or Rectangle 4 Sides, no spikiness. Size depends of reference circle.
Pentagon 5 Sides, no spikiness.
Hexagon 6 Sides, no spikiness.
Heptagon 7 Sides, no spikiness.
Octagon 8 Sides, no spikiness.
Circle or ellipse High number of sides, no spikiness.
Star 10 Sides, with spikiness, "spike inside".
Gear 8+ Sides (multiple of 4), with spikiness, "spike gear".
Pac-man 16+ Sides, no spikiness, 45º Start Angle, 270º Sweep Angle.
...each of this shapes can be sliced.
All geometry will fit a reference circle in exception of spikes.
Make sure to expand the right panel under "Draw Shape" to see the settings:

Dialog Settings

Preview Reference Visual only. The reference circle will be shown on screen when checked.
Ellipse Shape can only be scaled in one axis when unchecked, this also allows to be much easier to setup angles with the mouse.
1st Point as... Select how the shape will be placed in the map: starting from origin, replicate Draw Ellipse Mode behaviour or side/corner into origin.
Create shape as... Select which type of elements to create, see below for more information.
Front Outside /
Flip Linedefs
Shape linedefs will point outside when checked, ignored if "Create shape as.." is "Vertices" or "Things".
Sides Sets number of sides that the shape should have, note that reducing sweep angle won't reduce the number of sides.
Spikiness Sets percentage of spikiness. Except "Draw Ellipse behaviour" spike type, in that case spikiness is in mp.
Spike type combo box Controls how spikes behave in relation to the Spikiness level, see below for more information.
Start Angle Controls the starting angle of the first point.
Sweep Angle Controls the sweep angle of the slice, 360º will create a closed shape without slices.
Lock to one quadrant Locks start angle to top-right quadrant when checked, internally the angle will automatically adjust based of which quadrant the mouse is in.

"Create as..." types

Close shape
towards origin
Sliced shape will be cut towards origin creating a pie look.
Close shape
first to last vertex
Sliced shape will be closed by a linedef connected from the first to last vertex of the shape.
Open or close shape Sliced shape won't be closed.
Shape w/o intersect
or sectors
Creates an isolated shape that won't intersect or merge into elements on the map. Not recommended.
Vertices Creates a shape without linedefs.
Thing Creates a thing at each point of the shape.

Spike types combo box

Spike outside Spike will go outside of the reference circle.
Spike inside Spike will go inside of the reference circle, spikiness should not be more than 100!
Spike zig-zag Spike will go outside and inside of the reference circle causing it to be 2x more severe, spikiness should not be more than 100!
Spike gear Spike create a gear shape inside and outside of the reference circle, spikiness should not be more than 100! Number of sides must be multiple of 4 in this type.
DrawEllipse behaviour Simulates Draw Ellipse bevel behaviour, in this case the spikiness will be distance of spikes away from the reference circle rather than a percentage.
If Spikiness is more than 0 then sides must be multiple of 2 (except Spike Gear that requires 4).

Default Controls

Alt+D Start this drawing mode (available from any classic mode).
Enter Accept and apply the changes, and return to the previous mode.
Escape Discard the changes and return to the previous mode.
Drag Middle Button Sets Start Angle in relation to the origin and mouse position.
Drag Middle Button while holding Ctrl Sets Sweep Angle in relation to the origin, start angle and mouse position.