SPLINE2 creates a spline based on n control points. Angles of tangents in spline control points must be stated.
Syntax
SPLINE2 n, status, x1, y1, angle1, ..., xn, yn, anglen
Parameters
n
(
integer, ³ 2): number of nodes
status
(integer): defines the spline type
0
: default
1
: closed spline, with connected first and last control point
2
: spline is smoothed automatically (angle parameters are not used)
x(n)
(decimal): X coordinate of control point n
y(n)
(decimal): Y coordinate of control point n
angle (n)
(decimal): angle of tangent in control point (in degrees)
Remarks
The angular offset is based on the (local) X axis; positive direction is counterclockwise.
Usable since script version 1.1 (Allplan 2012-1).
(C) ALLPLAN GmbH |
Privacy policy |