read glyph

read glyph

read glyph replaces the Glyphs sub-library that was in the tools library. It reads glyphs saved in any of the three primary EVS field file formats and allows you to modify the shape and orientation of the glyph to allow it to be used in various modules that employ glyphs in slightly different ways. These include glyphs at nodes, place_glyph, drive_glyphs, advector, post_samples, etc. Most modules EXCEPT post_samples will use the glyphs without changing the default alignment. The supported file formats are:

  1. .eff ASCII format, best if you want to be able to open the file in an editor or print it

  2. .efz GNU Zip compressed ASCII, same as .eff but in a zip archive

  3. .efb binary compressed format, the smallest & fastest format due to its binary form

For a description of the .EFF file formats click here.

The objects saved in the .efx files should be simple geometric objects ideally designed to fit in a unit box centered at the origin (0,0,0). For optimal performance the objects should not include nodal or cell data. You may create your own objects or use any of the ones that C Tech supplies in the ctech\data\glyphs folder.

Ports

DirectionNameTypeDescription
OutputOutputFieldA field containing the glyph.
OutputOutput ObjectRenderableA renderable object displaying the glyph.

Properties

PropertyTypeDescription
FilenameStringThe field file containing the glyph object.
ExecuteButtonThe Execute button forces the module to run.
Offset BaseBooleanOffset Base is a toggle that changes the origin from the centroid of the glyph to the base.
AlignmentChoice: Orient For Vector, Align VerticallyThe Alignment allows the user to choose how to determine the orientation of the glyph.
RollDoubleThe Roll is a value that lets you control the rotation about the roll axis (glyph directional axis).
Length FactorDoubleLength Factor is a value that lets you scale the length of the glyph.
Width FactorDoubleWidth Factor is a value that lets you scale the width of the glyph.
Height FactorDoubleHeight Factor is a value that lets you scale the height of the glyph.