Inhalt

Index

BODY_B

BODY_B creates a NURBS cube of Bezier type according to the passed list of control points.

Syntax

BODY_B m, n, subdiv_n, subdiv_m, rise,
x11, y11, ... z11,
x12, y12, ... z12,
...
x1m, y1m, ... z1m,
x21, y21, ... z21,
...
zn1, zn2, ... znm

Parameters

m (integer, ³ 2): count of points at each edge curve

n (integer, 12): count of curves

n must be 12 - but other values produce no errors

subdiv_n, subdiv_m (integer): the desired subdivision of each face in two directions

rise (decimal): Sets smoothness.

The error of the arc approximation (i.e., the greatest distance between the theoretical curve and the generated chord) will be smaller than rise.

xnm, ynm, znm (decimal): coordinates of points defining the Bezier curved edges of the cube

Remarks

The order of edges must be arranged in sequence as depicted in the diagram.

Usable since script version 1.1 (Allplan 2012-1).



Allplan

(C) ALLPLAN GmbH

Privacy policy