[[File:PROP18.png|thumb|250px|[[Propagation Module]]'s Terrain Generator dialog]]
Â
=== Generating Grid-Based Terrain ===
Â
Every time you create a new terrain object [[using Terrain Generator]], an ASCII data file named "GeneratedTerrain" with a "'''.TRN'''" file extension is created and placed in your project folder. This is [[EM.Cube]]'s simple native terrain file format that basically lists all the (x, y, z) coordinates of the generated surface points on a horizontal, rectangular XY grid. Terrain Generator simply takes your custom function definition or one of the selected catalog surface types and generates the digital elevation data on the specified grid.
Â
Another type of terrain model that the terrain generator provides is '''XY Grid Data'''. In this case, you define a rectangular XY grid with a uniform grid cell size along the X and Y directions and manually define the Z-elevation for each grid point. This is similar to the surface generator's "2D Uniform Grid" model type in [[CubeCAD]]. Based on your input to '''Range Start''', '''Range Stop''' and '''Range Step''' along X and Y, a 2D grid is set up and displayed in a table at the bottom of the terrain generator dialog. By default, all the Z-elevations are set to zero initially. You can click on each table cell and overwrite it with a new value. At the end, click the '''Create''' button of the dialog to add the new grid-based terrain object to the Navigation Tree.
Â
[[File:terrain10_tn.png]]
Â
A grid-based terrain object.
=== Importing & Exporting Terrain Models ===