Symbolic table

Top  Previous  Next

The symbolic tables become from Moskito thus interprets that an input free of format is possible. Word wraps, blanks... have no meaning. Comments begin with a call sign'!' and end at the line end. All key words must be written in capital letters. Symbolic tables are filed in the list SYMBOLS\*.sym.

 

Key words:

 

FIG FIE SYD REF DKY DKA TXM TXN TXI TEX LIN PLG CIT CSP IPO SYM KEY ICO

 

Syntax:

 

symbolTabelle:: =                "FIG" uprightly ggf_key ggf_syd ggf_ref statements "FIE"

ggf_key:: =                        "KEY" uprightly |

ggf_syd:: =                        "SYD" uprightly |

ggf_ref:: =                        "REF" uprightly |

statemants:: =                statement statements |

statement:: =                "DKY" uprightly |

                         "DKA" uprightly |

                         "TXM" uprightly |

                         "TXI" uprightly |

                         "TEX" koordinate uprightly string |

                         "TEX" koordinate uprightly uprightly string |

                         "LIN" vektor vektoren |

                               "PLG" vektor vektoren |

                         "CIT" koordinate uprightly |

                         "CSP" koordinate koordinate uprightly index |

                         "IPO" vektor vektoren |

                         "QTX" string string |

                         "ICO" uprightly koordinate |

                         "ICO" uprightly uprightly koordinate |

                         "SYM" uprightly koordinate uprightly

 

uprightly:: =                        <integer, if necessary with portent>

koordinte:: =                uprightly uprightly

vektoren:: =                        vektor vektoren

vektor:: =                        koordinate

 

Semantics

 

A symbolic file exists of a result of symbolic descriptions. Every description is closed in itself and has no influence on the other symbolic descriptions. If for a symbolic number several descriptions exist, it is not evaluated as a mistake, in this case the first description is used. A symbolic description is enclosed between FIG and FIE. The symbolic number which may be a number in the area from 1 to 65535 follows FIG immediately. Then optionally a Key sentence follows, if necessary a SYD sentence, then if necessary a REF sentence. Then any result of the remaining statements is allowed. All co-ordinates in the file may use the area of a 4-byte-long, portent-afflicted number and the unity amounts to 1/100 mm.

 

KEY sentence KEY <object key>

 

Because symbols are stored inside as objects, they can also receive like objects an object key and modify thus her appearance. Behind the key word KEY the number of the object key must follow, so

 

KEY 4711

 

SYD sentence SYD <radius>

 

Symbols can be attached to the corner points of line trains. If then such a line train is drawn, the line runs up to the corner point, then the symbol is drawn in this corner point and overlays therefore the line. To prevent this, a recess tip SYD <n> can brag. the fact that the drawing of the line is already finished n / 100tel. millimetre before the corner point and begins the next line as far late. If the hole should have a radius of 0.27 mm, the information is in the symbol

 

SYD 27

 

REF sentence REF <wide> <height>

 

It is possible to store symbols not only as a reference in the symbolic table, but also to take over as line trains in the data bank. Then such symbols can be also changed in the size. To own in this case an authoritative size such symbols with REF <x> <y> an expansion must get assigned. If it should be given that the symbol is 4 mm wide and 2.6 mm high, the information is

 

REF 400 260

 

DKY sentence DKY <sign key>

 

With This information the sign key is fixed for all following lines, circles... in this symbol. With it the appearance of the symbol is described. If several line types should be used, a DKY sentence must stand before every change of the line type. Then the appearance is determined by the sign key in connection with the object key how this is also described for all the other objects in the signature table. Should be the sign keys of all following lines 9, the information has to go

 

DKY 9

 

are accommodated.

 

DKA sentence DKA <surface key>

 

As well as the line types with the sign key DKY are fixed, the surface representations with the surface key DKA are given. If this is 0, it concerns lines without Füllangeben, as soon as the surface keys of 0 has passed away, the suitable part of the symbol is filled as this is described in the signature table. The sentence can be, e.g., as follows:

 

DKA 21

 

TXM sentence TXM <text kind>

 

In Moskito if several normal text kinds, possibly boldface font and italic writing, are defined. With

 

TXM 3

 

if the text kind 3 is chosen. What appears text kind, is described in extartentabelle. The text kind 0 is the normal writing.

 

TXN sentence TXN <authoritative point>

 

The number for the authoritative point of the text

 

TXN 1

 

TXI sentence TXI <height>

 

Beside the appearance of the text his size must be also fixed. This size is given in 1/100-mm steps. The information is valid for all following texts of this symbol, or up to the next TXI sentence. To put the text size of 22.4 mm the following line is necessary:

 

TXI 2240

 

TEX sentence TEX <x> <y> <corner> <string>

 

Then with this sentence the text is used after many settings in the symbol. If the text Symbol 11 mm should be used to the right of the zero vertically, has to go

 

TEX 1100 0 90 "symbols"

 

are put down on the symbolic definition.

 

LIN <sentence LIN x1 y1 x2 y2><><><>... <xn> <yn>

 

With a LIN sentence can be shown any, coherent polygon train. 2 figures are understood in each case as a co-ordinate and are connected with the predecessor. As a unity is valid again of 1/100 mm. To generate a closed rectangle with 1-mm edge length around the authoritative point the following line is necessary:

 

LIN 50 50-50 50-50-50 50-50 50 50

 

PLG <sentence PLG x1 y1 x2 y2><><><>... <xn> <yn>

 

This sentence as functions a LIN sentence. The difference consists in the fact that the last point is connected again with the first one. With LIN this co-ordinate would have to seem double. A rectangle around the authoritative point with 1-mm edge length originates by:

 

PLG 50 50-50 50-50-50 50-50

 

QTX sentence QTX <name> <worth>

 

An attribute is put on in the symbol:

 

"""Hello QTX NAM"

 

CIT sentence CIT <x> <y> <radius>

 

With a CIT sentence a full circle is inserted in the symbol. A circle around the point (2 mm, 3 mm) relatively to the authoritative point and with the radius 4 mm has the following definition:

 

CIT 200 300 400

 

CSP sentence CSP <x1> <y1> <x2> <y2> <radius> <{index>}

 

Not only full circles, but also arcs can be generated. With CSP a circle is generated by the point 1 to the point 2. If the radius is positive, the arc is explained against the clockwise, but with the clockwise. Moreover, an index can be given. If he exists and has the value 1, the arc with more than 180 degrees is explained. In all other cases the arc with 180 degrees or is drawn less. A circle with 1-cm height between the points (0,0) and (0 cm, 2 cm) and an interpoint (1 cm, 1 cm) is is:

 

CSP 0 0 0 2000-1000

 

A small quarter circle looks, for example, thus:

 

CSP 60 0 0 60 60

 

IPO <sentence IPO x1 y1 x2 y2><><><>... <xn> <yn>

 

An IPO sentence is identical with a LIN sentence. Only no l connections, but C connections are put on between the points. Further details can be taken from the function to AddString or the description of a string element.

 

ICO sentence ICO <num> <x> <y>

 

ICO sentence ICO <num> <ref> <x> <y>

 

If places an Icon. The Icon is inserted with (x, y). <>It is given only <num>, this is the Iconnummer from 10000, 20000 or 30000. with 10000 the standard size is used, with 20000 the small, with 30000 the middle one. The adviser's point in the Icon is below a middle. If the authoritative point is given, are valid the following values of the positions:

 

0

3

6

1

4

7

2

5

8

 

SYM sentence SYM <symbolic number> <x> <y> <corner>

 

In a symbol a reference to another symbol can appear again. This can be several times geschachtelt. The user should pay attention to the fact that the Schachtelung is limited. But the sign routine gets in problems. If, e.g., 3 mm above the middle and 4.23 mm below the middle of a symbol the symbol 4 should be used, the information is

 

SYM 4 0 300 0 SYM 4 0-423 23

 

The lower symbol is turned, in addition, still about 23 degrees against the clockwise. The fulcrum is the point (0,0) of the symbol 4.