Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
05 ArchiCAD 11 GDL Reference Guide.pdf
Скачиваний:
58
Добавлен:
11.03.2015
Размер:
3.22 Mб
Скачать

An extension of the SPLINE2 statement (Bézier spline), used mainly in automatic 2D script generation because of its complexity.

For more details, see “Lines / Drawing Splines” in the Documentation chapter of ArchiCAD 10 Help.

Status codes:

Y

1

0: default

1: closed spline; the last and first nodes of the spline will become connected, thus

length

_

previous

 

 

 

length

_

next

 

 

 

i

 

 

 

 

i

i

anglei

(xi,yi )

closing the spline

 

2: Automatically smoothed spline; the angle, length_previousi and length_nexti

 

parameter values of the nodes between the first and the last node are not used

 

when generating the spline. An internal autosmoothing algorithm is used.

X

xi, yi: control point coordinates

 

length_previousi, length_nexti: tangent lengths for the previous and the next control points anglei: tangent direction angle

Example:

SPLINE2A 9, 2,

0.0, 0.0,

0.0,

0.0,

0.0,

0.7,

1.5, 15,

0.9,

1.0,

1.9,

0.8, 72,

0.8,

0.3,

1.9,

1.8, 100,

0.3,

0.4,

1.8,

3.1, 85,

0.4,

0.5,

2.4,

4.1, 352,

0.4,

0.4,

3.5,

3.3, 338,

0.4,

0.4,

4.7,

3.7, 36,

0.4,

0.8,

6.0,

4.6,

0,

0.0,

0.0

PICTURE2

PICTURE2 expression, a, b, mask

2D Shapes

n

ArchiCAD 11 GDL Reference Guide

125