Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
{alias:fmo}

Name

fmo — Fast modelling

Syntax

...

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.

Info
titleInformation

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

No Format
bgColor#eeeeee
borderWidth1

fmo inc 250 250 ;# fast grid model with x and y grid cell increments of 250
No Format
bgColor#eeeeee
borderWidth1

# 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
polzap 2mygrid        ;# Get values from mygrid ;# Drawto the lines
pol with2 line width 2 zap mygrid        ;# GetDraw valuesthe fromlines mygridwith toline thewidth lines2
fmo 222 222       ;# Make grid model of dimension 222 x 222
map               ;# Map the grid

...