MESH_B
generates a mesh which approximates the Bezier surface defined by the specified control points. The surface evaluation may happen in two different modes, static mode and adaptive mode. Adaptive mode is being chosen, if subdiv_n
or subdiv_m
is less than or equal to 2. Otherwise, the static mode will be chosen and parameter value rise
will be ignored.
Syntax
MESH_B m, n, subdiv_n, subdiv_m, rise, x11, y11, z11, x12, y12, z12, ... , x1m, y1m, z1m, x21, y21, z21, x22, y22, z22, ... , x2m, y2m, z2m, ... , xn1, yn1, zn1, xn2, yn2, zn2, ... , xnm, ynm, znm
Parameters
m
, n
(integer): number of nodes along the X resp. Y axis
subdiv_n
, subdiv_m
(integer): number of subdivisions in the corresponding direction
rise
(integer, >0): valid values must be greater than 0
xij
, yij
, zij
(decimal): X, Y and Z coordinates of the nodes
Remarks
Modes for surface evaluation:
> In the static mode, the surface is being evaluated at subdiv_n
and subdiv_m
parameter values.
> In the adaptive mode, the surface is being evaluated at as many parameter values as needed, to guarantee the following: Distance from surface to the mid of each resulting mesh face is less than or equal to the parameter value rise
.
Usable since script version 1.1 (Allplan 2012-1).
(C) ALLPLAN GmbH |
Privacy policy |