The database consists of a list of components of different type. The
fundamental components Line, Circle, Arc, Path and Text are introduced.
In order to add a line to the drawing run the command
AddLine. A line is described by
its start point (1) and its end point (2). These points can be defined by the
point construction processor.
5.2 Circle
In order to add a circle to the drawing run the command
AddCircle. A circle is represented
by its center point (1) and its radius (2). The center points can be defined using
point construction processor. The
distance construction processor
supports defining the radius.
5.3 Arc
In order to add an arc to the drawing run the command
AddArc. An arc is described by
its center point (1), its radius (2), its start angle (3) and its sweep angle
(4). The center point is defined on the basis of the
point construction processor. The
distance construction processor
supports entering the radius and the angle
construction processor is used for defining the start and the sweep angle.
In order to add a path to the the drawing run the command
AddPoly. A path is characterized
by its start point (1) and a finite number of subsequent segments. The segments
are defined on the basis of constructed points (see
point construction). It is distinguished
between the following segments:
- Line segment: Its start point (2) matches the end point of the previous
segment. Its end point (3) needs to be constructed.
- Move segment: The gap's end point (3) needs to be constructed.
- Quad segment: Its start point (2) matches the end point of the previous
segment. Its end point (3) and its control point (4) need to be specified.
- Cubic segment: Its start point (2) matches the end point of the previous
segment. Its end point (3) and its control points (4, 5) need to be
constructed.
- Arc segment: Its start point (2) matches the end point of the previous
segment. Its end point (3) and another point (4) on the arc need to be
entered.
- Close segment: It is represented by a line to the last Move segment.
Its start point (4) matches the end point previous segment and its end point
(5) matches the end point (3) of the last Move segment. A Close segment
is always followed by a Move segment.
CADEMIA provides for undoing the construction of the last segment. Press
Undo segment in the Command line menu. A path is terminated by
pressing Done in the Command line menu.
5.5 Text
In order to add a text to the the drawing run the command
AddText. A text is characterized
by its placement point (1), its text string, an optional rotation angle (2) and
its justification. Multilined text is entered like
"First line.\nSecond line."
5.6 Exercise
Draw the shapes presented below by using the appropiate CADEMIA components and
suitable construction processors. Save the drawing.
Hints