read glyph
read glyph 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 so it can be used in the various modules that employ glyphs in slightly different ways. These include glyphs at nodes, place glyph, drive glyphs, post samples, and others. Most modules except post samples use the glyphs without changing the default alignment. The supported file formats are:
- .eff: ASCII format, best if you want to be able to open the file in an editor or print it
- .efz: GNU Zip compressed ASCII, the same as .eff but in a zip archive
- .efb: binary compressed format, the smallest and fastest format due to its binary form
For a description of the EFF file formats click here.
The objects saved in these 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. Glyph files are read without applying the application origin, since glyphs are defined in their own local coordinates.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | Output | Field | A field containing the glyph. |
| Output | Output Object | Renderable | A renderable object displaying the glyph. |
Properties
| Property | Type | Description |
|---|---|---|
| Filename | File | The field file containing the glyph object. |
| Execute | Button | Forces the module to run. Available once a file has been selected. |
| Offset Base | Boolean | Changes the origin of the glyph from its centroid to its base. |
| Alignment | Choice: Orient For Vector, Align Vertically | Determines the orientation of the glyph. Align Vertically rotates the glyph so its directional axis points vertically. |
| Roll | Double | Controls the rotation about the roll axis (the glyph’s directional axis), from 0 to 180 degrees. |
| Length Factor | Double | Scales the length of the glyph (default 1). |
| Width Factor | Double | Scales the width of the glyph (default 1). |
| Height Factor | Double | Scales the height of the glyph (default 1). |