CURVE_B2 creates a Bezier curve with n control points in 2D.
Syntax
CURVE_B2 n, status,
x1, y1, t_next_x1, t_next_y1,
...
t_prev_xn, t_prev_yn,
xn, yn, t_next_xn, t_next_yn
Parameters
n (integer, £ 2): number of control points
status (integer, 0 or 1): defines the visibility of the curve, 0 - standard
status= j1 + 2*j2
where j1, j2 can be 0 or 1.
j1 (1): contour only
j2 (2): fill only
xi, yi (real): control point coordinates
t_prev_xi, t_prev_yi (real): previous tangent point coordinates
t_next_xi, t_next_yi (real): next tangent point coordinates
First point has only next tangent point coordinates!
Remarks
Usable since script version 1.1 (Allplan 2012-1).
|
(C) ALLPLAN GmbH |
Privacy policy |