Inhalt

Index

CURVE_N2

CURVE_N2 creates a NURBS curve with n control points in 2D.

Syntax

CURVE_N2 n, status, x1, y1, ... xn, yn

Parameters

n (integer, £ 2): number of control points

status (integer, 0 or 1): defines curve's appearance

status= j1 + 2*j2 + 4*j3
where j1, j2, j3 can be 0 or 1.

j1 (1): contour only

j2 (2): fill only

j3 (4): the last and first nodes of the curve will be connected, thus closing the curve.

xi, yi, (decimal): control point coordinates

Remarks

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



Allplan

(C) ALLPLAN GmbH

Privacy policy