Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ E3D Design

Element GLYOUTline has attributes:

  • Last UpdatedApr 27, 2023
  • 2 minute read

GDEFINition:

(Integer array). A series of XY coordinates describing the Outline.

GANGLE:

(Degrees) The rotation of the Outline about its origin.

GOFFSet:

(2 Integers) The X & Y offsets of the Outline origin from the Glyph origin.

GFILLD:

If set TRUE causes the Outline to be solid-filled. By default this is FALSE.

A GLYOUT is a series of spans that can be straight lines or circular arcs. They can be continuous or discontinuous. The geometry of these is created using the syntax of the <GDEFIN> graph and stored in the GDEFIN attribute. The syntax is:

GDEFIN -- M/TO -- <int2> --|-- L/TO -- <int2> --|-- <int2> -- etc

                           |                    |

                           |                    |-- M/TO - etc

                           |                    |

                           |                    |-- L/TO - etc

                           |                    |

                           |                    |-- ANG/TO - etc

                           |                    |

                           |                    `-->

                           |

                           |

                           `-- ANG/TO -- <int3> -|- <int3> - etc

                                                 |

                                                 |- M/TO - etc

                                                 |

                                                 |- L/TO - etc

                                                 |

                                                 |- ANG/TO - etc

                                                 |

                                                 `-->

Where <int2>

represents the input of 2 integers to define the coordinates of the end point of a straight-line span,

<int3>

represents the input of 3 integers defining the angle subtended by a circular arc plus the coordinates of the end point of the arc. A positive angle denotes a counter-clockwise arc, a negative angle denotes a clockwise arc.

The sequence must start with the MTO (MoveTo) keyword followed by two integers, this defines the start point of the Outline. The LTO (LineTo) or ANGTO (AngleTo) keyword must then follow and then two or three integers respectively to define the first span. Having defined a span another similar span can be defined immediately by the input of two or three integers or alternatively the type of span can be changed by a LTO or ANGTO keyword. If a break in the Outline is required the MTO keyword must be used to define the start of a new sequence.

For example, a symbolic flower-head of reference diameter 120 with alternating filled and unfilled petals can be defined as:

NEW GLYPH

REFSIZ 120

NEW GLYOUT

GDEFIN MTO 10 0 LTO 50 -17 ANG 45 50 17 LTO 10 0

NEW GLYOUT COPY GLYOUT 1

GANGLE 45

GFILLD TRUE

NEW GLYOUT COPY GLYOUT 1

GANGLE 90

NEW GLYOUT COPY GLYOUT 1

GANGLE 135

GFILLD TRUE

NEW GLYOUT COPY GLYOUT 1

GANGLE 180

NEW GLYOUT COPY GLYOUT 1

GANGLE 225

GFILLD TRUE

NEW GLYOUT COPY GLYOUT 1

GANGLE 270

NEW GLYOUT COPY GLYOUT 1

GANGLE 315

GFILLD TRUE

NEW GLYOUT COPY GLYOUT 1

GANGLE 180

NEW GLYCIR

GDIAM 15

GFILLD TRUE

Related Links
TitleResults for “How to create a CRG?”Also Available in