draw.Drawing

Methods

Method Reference: draw.Drawing.ellipse

draw.Drawing: D = ellipse (D, C, A, B)
draw.Drawing: D = ellipse (D, C, A, B, ROT)

Append an ellipse centred at C with semi-axes A and B.

ROT turns the first axis away from horizontal, in degrees counter-clockwise, and defaults to zero.

An ellipse is what a circle becomes when a round feature is seen obliquely, which is most of the time on an isometric or an auxiliary view, and what a chamfer on a cylinder projects to.

The DXF revision this package writes has no ellipse entity, so one reaches a file as a closed polyline sampled to a chordal tolerance, and draw.Drawing.entities records the substitution. The shape is right to within that tolerance; what is lost is the ability to edit it as an ellipse afterwards.

See also: circle, arc, polyline

Source Code: draw.Drawing