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:
.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, same as .eff but in a zip archive
.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
| 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 | String | The field file containing the glyph object. |
| Execute | Button | The Execute button forces the module to run. |
| Offset Base | Boolean | Offset Base is a toggle that changes the origin from the centroid of the glyph to the base. |
| Alignment | Choice: Orient For Vector, Align Vertically | The Alignment allows the user to choose how to determine the orientation of the glyph. |
| Roll | Double | The Roll is a value that lets you control the rotation about the roll axis (glyph directional axis). |
| Length Factor | Double | Length Factor is a value that lets you scale the length of the glyph. |
| Width Factor | Double | Width Factor is a value that lets you scale the width of the glyph. |
| Height Factor | Double | Height Factor is a value that lets you scale the height of the glyph. |