create grid

create grid

create grid produces a 2D or 3D uniform grid that can be used for any purpose. A typical use is providing starting points for 3d streamlines. Whether a 2D rectangle or a 3D box is created is determined by the grid resolution, and the grid’s resolution, size, and orientation are all adjustable. The number of nodes depends on the X, Y, and Z resolutions as well as the cell type specified. When the Input Field port is connected, it is used to generate the default center and extents.

Ports

DirectionNameTypeDescription
InputInput FieldFieldAn input field used to generate default center and extents.
OutputOutput FieldFieldThe created grid field.
OutputSurfaceRenderableA renderable object displaying the created grid.

Properties

PropertyTypeDescription
Output Cell TypeChoice: Point, Line, Quad, HexSelects the cell type of the created grid.
X ResolutionIntegerThe number of nodes in the X direction.
Y ResolutionIntegerThe number of nodes in the Y direction.
Z ResolutionIntegerThe number of nodes in the Z direction.
Grid RotationAzimuth/InclinationRotates the grid about its center point by a set azimuth and inclination.
Center PointCoordinate 3DThe location of the center of the grid. It is also used as the center of rotation for the grid.
I SizeDoubleThe size of the grid in the X direction before rotation.
J SizeDoubleThe size of the grid in the Y direction before rotation.
K SizeDoubleThe size of the grid in the Z direction before rotation. Used for 3D grids.
Coordinate UnitsStringThe coordinate units of the grid. By default these come from the input field, or are set to ft.