Mesh3D

Element

Display a rectangular mesh on a 3D plane element. Create a (rectangular) mesh - i.e. grid lines - on a plane3D element.

At the time being, the mesh is not connected to the plane. The connecting element is simply the parameter point.

Usage (signatures)
board.create('mesh3d', [point, direction1, direction2, range1, range2]);

range1 and range2 (arrays of length 2) give the respective ranges. All parameters can be supplied as functions returning an appropriate data type.

Parameters
Name Type Description
point Array

Array of length 3 determining the starting point of the grid

direction1 Array

Array of length 3 for the directions of the grid

direction2 Array

Array of length 3 for the directions of the grid

range1 Array
range2 Array
Attributes

Own

stepWidthU

Description

Step width of the mesh in the direction of the first spanning vector.

Type
Number
Default Value
1
Source
options3d.js, line 928

stepWidthV

Description

Step width of the mesh in the direction of the second spanning vector.

Type
Number
Default Value
1
Source
options3d.js, line 938

Inherited

none

Throws

If the element cannot be constructed with the given parent objects an exception is thrown.

Type
Exception

Details

Type
Object
Source
3d/box3d.js, line 301