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

Status Codes

Set centerpoint

x0, y0, 900,

(x0,y0)

900

Tangential arc to endpoint

x, y, 1000+s, where 0 < s < 100

(x,y)

1000

ArchiCAD 11 GDL Reference Guide

145

Status Codes

Tangential arc by radius and angle

r, a, 2000+s, where 0 < s < 100

r

a

2000

Arc using centerpoint and point on the final radius

x, y, 3000+s, where 0 < s < 100

3000

x,y

146

ArchiCAD 11 GDL Reference Guide

Status Codes

Arc using centerpoint and angle

0, a, 4000+s, where 0 < s < 100

4000 a

Full circle using centerpoint and radius

r, 360, 4000+s, where 0 < s < 100

r

4000

In this case the s status refers to the whole circle.

All angle values are in degrees. Omitted coordinates marked by 0 (for codes 300, 700, 4000) can have any value.

ArchiCAD 11 GDL Reference Guide

147

Status Codes

Examples:

EXTRUDE 21, 0, 0, 3, 1+2+4+16+32,

0,

0, 0,

 

7,

0, 0,

 

7,

3, 1,

! tangential arc to endpoint

6,

3, 1000,

5,

3, 1001,

! tangential arc to endpoint

1,

90, 2000,

! tangential arc by radius and angle

2,

3, 1001,

! tangential arc to endpoint

1,

3, 900,

! set centerpoint

1,

2, 3000,

! arc using startpoint, centerpoint and point on final radius

1,

2.5, 900,

! set centerpoint

0,

-180, 4001,

! arc using start point, centerpoint and angle

1,

5, 1000,

!tangential arc to endpoint

-1,

0, 100,

! segment by (dx, dy)

2,

225, 200,

! segment by (len, angle)

-1,

0, 800,

! set tangent

-1,

0, 1000,

! tangential arc to endpoint

0,

0, -1,

! end of contour

1,

1, 900,

! set centerpoint

0.5, 360, 4000,

! full circle by centerpoint and radius

3.5, 1.5, 900,

! set centerpoint

1, 360, 4001

! full circle by centerpoint and radius

148

ArchiCAD 11 GDL Reference Guide

Status Codes

EXTRUDE

2+5+10+10+2, 0, 0, 3, 1+2+4+16+32,

0,

0,

900,

3,

360,

4001,

2.5, -1,

0,

2.5,

1,

0,

1.5,

1,

1,

1.5, -1,

1001,

2.5, -1,

-1,

0,

2.5,

600,

0,

-1, 800,

1,

1.5,

1001,

-1, 0, 800,

0,

0.5,

1001,

0,

1,

800,

-1, 1.5,

1001,

1,

0,

800,

0,

2.5,

1001,

0,

2.5,

700,

-1.5,

0,

900,

-2.5,

0,

600,

-2.5,

1,

3000,

-2.5,

1,

0,

-1.5,

1,

0,

-1.5,

-1, 1001,

-2.5,

-1, 0,

SQR(2)-1, 45, 200,

-2.5,

0,

3000,

-2.5,

0,

700,

0,

-1.5,

900,

1,

360,

4000

ArchiCAD 11 GDL Reference Guide

149

Status Codes

EXTRUDE 3, 1, 1, 3, 1+2+4+16+32,

0,

0, 900,

3,

360,

4001,

2,

360,

4000

ROTY -90

REVOLVE 9, 180, 16+32,

7,

1, 0,

 

 

6,

1, 0,

0,

 

5.5, 2,

 

5,

1, 0,

 

 

4,

1, 0,

 

! set centerpoint

3, 1, 900,

0, 180, 4001, ! arc using startpoint, centerpoint and angle 2, 1, 0, 1, 1, 0

150

ArchiCAD 11 GDL Reference Guide