Name
fmo — Fast modelling
Syntax
fmo [inc] | [nx ny] [x | y] [ibo] [spl [ten]] [vdf] [sdi]
Description
Generate a fast grid model using interpolation between lines.
Input to fmo must be line oriented polydata. The boundary of the grid will start where a line is first met.
Arguments
No arguments, the grid will have the same number of rows and columns as the last grid that set the @nrow @ncol variables.
inc xinc yinc
Create grid model grid with increments xinc and yinc.
nx ny
Create a grid with nx times ny grid cells.
ibo
Include border. Makes an extra rim of defined grid cells along the border.
x
Grid only in x direction. Default is in both direction. Uses the intersection of x or y gridding.
y
Grid only in y direction.
spl [ten tension]
Will apply a spline as interpolating method. Applying ten with the tension parameter tension having values from 0 - 100, results in a tighter spline. Try low values to get moderate tension.
vdf
Make a grid node if value defined in at least one grid direction.
sdi
Use line with shortest distance to calculate the grid node values.
Information
lst i 117
- Will list maximum number of grid nodes that can be generated with fmo. Present value for release 4 is 12.2M nodes and for release 5 it is 15.2M nodes
val i 117 max_number_of_grid_nodes
- Will set the maximum number of grid nodes that can be generated with fmo.
Examples
Ex.1: Fast gridding
fmo inc 250 250 ;# fast grid model with x and y grid cell increments of 250
# Fast model gridding z ;# Erase screen win demo ;# Get demo window (450000 460000 6450000 6460000 1000 4000) spe bgc whi ;# Specify background color to white mak ran 11 ;# Make 11 random points grp 222 222 ;# Make grid of dimension 222 x 222 mhi mygrid ;# Move the grid to workspace 'mygrid' mak ran 144 ;# Make 144 random points mak lin dis 100 ;# Make points in line with distance 100 zap mygrid ;# Get values from mygrid to the lines pol 2 ;# Draw the lines with line width 2 fmo 222 222 ;# Make grid model of dimension 222 x 222 map ;# Map the grid
The above example produces this image.
Fast model gridding of input lines