Wiki Markup |
---|
{alias:fmo} h2. Name *fmo* — Fast modelling h2. Syntax {panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA} *fmo* \[*inc*] | \[_nx ny_] \[*x | y*] \[*ibo*] \[*spl* \[*ten*]] \[*vdf*] \[*sdi*] {panel} h2. 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. h2. Arguments {indent}No arguments, the grid will have the same number of rows and columns as the last grid that set the @nrow @ncol variables.{indent} *inc* _xinc yinc_ {indent}Create grid model grid with increments _xinc_ and _yinc_.{indent} _nx ny_ {indent}Create a grid with nx times ny grid cells.{indent} *ibo* {indent}Include border. Makes an extra rim of defined grid cells along the border.{indent} *x* {indent}Grid only in x direction. Default is in both direction. Uses the intersection of x or y gridding.{indent} *y* {indent}Grid only in y direction.{indent} *spl* \[*ten* _tension_] {indent}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.{indent} *vdf* {indent}Make a grid node if value defined in at least one grid direction.{indent} *sdi* {indent}Use line with shortest distance to calculate the grid node values.{indent} {info:title=Information} *lst i 117* {indent}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.{indent} *val i 117* _max\_number\_of\_grid\_nodes_ {indent}Will set the maximum number of grid nodes that can be generated with *fmo*.{indent} {info} h2. Examples h3. Ex.1: Fast gridding {noformat:|borderWidth=1|bgColor=#eeeeee} fmo inc 250 250 ;# fast grid model with x and y grid cell increments of 250 {noformat} {noformat:|borderWidth=1|bgColor=#eeeeee} # 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 pol 2 ;# Draw the lines with line width 2 zap mygrid ;# Get values from mygrid to the lines fmo 222 222 ;# Make grid model of dimension 222 x 222 map ;# Map the grid {noformat} The above example produces this image. !att:_img_ref^cmd_fmo.png! _Fast model gridding of input lines_ h2. See also [grp - Grid points and lines], [bmo - Border model grid] {pagebreak} |
Page Comparison
General
Content
Integrations