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

3D Shapes

FPRISM_ "Roof Tile", "Red Brick", "Face brick", "Roof Tile",

10, 2, 45, 1, 0, 0, 15, 6, 0, 15, 6, 5, 15, 0, 5, 15, 0, 0, -1, 1, 2, 15, 4, 2, 15, 4, 4, 15, 1, 4, 15, 1, 2, -1

HPRISM_

HPRISM_ top_mat, bottom_mat, side_mat, hill_mat,

n, thickness, angle, hill_height, status, x1, y1, s1,

...,

xn, yn, sn

Similar to FPRISM_, with an additional parameter controlling the visibility of the hill edges. status: controls the visibility of the hill edges:

0:hill edges are all visible (FPRISM_)

1:hill edges are invisible

SPRISM_

SPRISM_ top_material, bottom_material, side_material, n, xb, yb, xe, ye, h, angle,

x1, y1, s1, ... xn, yn, sn

Extension of the CPRISM_ statement, with the possibility of having an upper polygon non-parallel with the x-y plane. The upper plane definition is similar to the plane definition of the CROOF_ statement. The height of the prism is defined at the reference line. Upper and lower polygon intersection is forbidden.

ArchiCAD 11 GDL Reference Guide

41

3D Shapes

Additional parameters:

 

 

 

 

 

xb, yb, xe, ye: reference line (vector) starting and end coordinates,

 

 

 

angle: rotation angle of the upper polygon around the given oriented reference line in degrees

 

 

 

(CCW),

 

 

 

 

 

angle

si: status code that allows you to control the visibility of polygon edges and side surfaces.

n

 

 

 

You can also define holes and create segments and arcs in the polyline using special

(xb,yb)

h

constraints.

 

 

(xe,ye)

 

 

 

 

 

 

 

 

See “Status Codes” on page 139 for details.

1

 

 

Note: All calculated z coordinates of the upper polygon nodes must be positive or 0.

2

Example:

 

 

 

 

 

 

 

SPRISM_ 'Grass', 'Earth', 'Earth',

 

 

 

6,

 

 

 

 

 

 

 

0, 0, 11, 6, 2, -10.0,

 

 

 

0,

0,

15,

 

 

 

 

10,

 

1,

15,

 

 

 

 

11,

 

6,

15,

 

 

 

 

5,

7,

15,

15,

 

 

 

4.5,

5.5,

 

 

 

1,

 

6,

15

 

 

 

 

SPRISM_{2} top_material, bottom_material, side_material, n,

xtb, ytb, xte, yte, topz, tangle, xbb, ybb, xbe, ybe, bottomz, bangle, x1, y1, s1, mat1,

...

xn, yn, sn, matn

Extension of the SPRISM_ statement, with the possibility of having an upper and lower polygon non-parallel with the x-y plane. The definition of the planes is similar to the plane definition of the CROOF_ statement. The top and bottom of the prism is defined at the reference line. Upper and lower polygon intersection is forbidden.

Additional parameters:

xtb, ytb, xte, yte: reference line (vector) of the top polygon starting and end coordinates, topz: the 'z' level of the reference line of the top polygon,

tangle: rotation angle of the upper polygon around the given oriented reference line in degrees (CCW), xbb, ybb, xbe, ybe: reference line (vector) of the bottom polygon starting and end coordinates, bottomz: the 'z' level of the reference line of the top polygon,

bangle: rotation angle of the lower polygon around the given oriented reference line in degrees (CCW),

42

ArchiCAD 11 GDL Reference Guide

3D Shapes

si: status code that allows you to control the visibility of polygon edges and side surfaces. You can also define holes and create segments and arcs in the polyline using special constraints.

See “Status Codes” on page 139 for details..

mati: material reference that allows you to control the material of the side surfaces.

Example:

SPRISM_{2} 'Grass', 'Earth', 'Earth',

11,

0,

11,

0,

30, -30.0,

0,

0,

0,

0,

11,

2,

30.0,

0,

 

0,

15, IND (MATERIAL, 'C10'),

10,

 

1,

15, IND (MATERIAL, 'C11'),

11,

 

6,

15, IND (MATERIAL, 'C12'),

5,

 

7,

15, IND (MATERIAL, 'C13'),

4,

 

5,

15, IND (MATERIAL, 'C14'),

1,

 

6,

15, IND (MATERIAL, 'C10'),

0,

 

0,

-1, IND (MATERIAL, 'C15'),

9,

 

2,

15, IND (MATERIAL, 'C15'),

10,

 

5,

15, IND (MATERIAL, 'C15'),

6,

 

4,

15, IND (MATERIAL, 'C15'),

9,

 

2,

-1, IND (MATERIAL, 'C15')

ArchiCAD 11 GDL Reference Guide

43

3D Shapes

SLAB

SLAB n, h, x1, y1, z1, ... xn, yn, zn

Oblique prism. The lateral faces are always perpendicular to the x-y plane. Its bases are flat polygons rotated about an axis parallel with the x-y plane. Negative h values can also be used. In that case the second base polygon is below the given one.

No check is made as to whether the points are really on a plane. Apices not lying on a plane will result in strange shadings/ renderings.

Restriction of parameters: n >= 3

Z

Y

X

SLAB_

SLAB_ n, h, x1, y1, z1, s1, ... xn, yn, zn, sn

Similar to the SLAB statement, but any of the edges and faces of the side polygons can be omitted. This statement is an analogy of the PRISM_ statement.

si: status code that allows you to control the visibility of polygon edges and side surfaces. You can also define holes and create segments and arcs in the polyline using special constraints.

See “Status Codes” on page 139 for details.

44

ArchiCAD 11 GDL Reference Guide