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

3D Shapes

CPRISM_

CPRISM_ top_material, bottom_material, side_material, n, h, x1, y1, s1, ... xn, yn, sn

Extension of the PRISM_ statement. The first three parameters are used for the material name/index of the top, bottom and side surfaces. The other parameters are the same as above in the PRISM_ statement.

Restriction of parameters: n >= 3

See also “Materials” on page 160.

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. Example:

CPRISM_ "Iron", 0, T_,

!"Iron" is a predefined material.

 

 

 

 

!0 is a general material.

 

 

 

 

!T_ is a global variable

13,

0.2,

 

!(a material index)

0,

0,

15,

 

 

2,

0,

15,

 

 

2,

2,

15,

 

 

0,

2,

15,

 

!end of the contour

0, 0, -1,

15,

0.2,

0.2,

 

1.8,

0.2,

15,

 

1.0,

0.9,

15,

!end of first hole

0.2, 0.2,

-1,

0.2,

1.8,

15,

 

1.8,

1.8,

15,

 

1.0,

1.1,

15,

!end of second hole

0.2, 1.8,

-1

ArchiCAD 11 GDL Reference Guide

37

3D Shapes

BPRISM_

BPRISM_ top_material, bottom_material, side_material, n, h, radius, x1, y1, s1, ... xn, yn, sn

A smooth curved prism, based on the same data structure as the straight CPRISM_ element. The only additional parameter is radius.

Derived from the corresponding CPRISM_ by bending the x-y plane onto a cylinder tangential to that plane. Edges along the x axis are transformed to circular arcs; edges along the y axis remain horizontal; edges along the z axis will be radial in direction.

See “BWALL_” on page 47 for details.

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.

 

Examples (with the corresponding CPRISM_-s):

 

BPRISM_ "Glass", "Glass", "Glass",

! radius = 1

3, 0.4, 1,

0,

0,

15,

 

5,

0,

15,

 

1.3, 2,

15

 

38

ArchiCAD 11 GDL Reference Guide

3D Shapes

BPRISM_ "Concrete", "Concrete", "Concrete",

17,

 

 

0.3,

 

5,

0,

2,

 

7.35,

15,

0,

 

15,

 

 

1.95,

 

0,

15,

 

8,

0,

 

15,

 

 

6.3,

2,

15,

 

 

2,

2,

 

15,

 

 

4.25,

 

4,

15,

 

8,

4,

 

15,

 

 

8,

10,

15,

 

 

2.7,

10,

15,

 

0, 7.35, -1,

 

4,

8.5,

15,

 

15,

1.85,

 

7.05,

 

3.95,

 

5.6,

15,

6.95,

 

5.6,

15,

6.95,

 

8.5,

15,

4, 8.5, -1

 

 

FPRISM_

FPRISM_ top_material, bottom_material, side_material, hill_material, n, thickness, angle,hill_height,

x1, y1, s1,

...

xn, yn, sn

Similar to the PRISM_ statement, with the additional hill_material, angle and hill_height parameters. A hill part is added to the top of the right prism.

hill_material: the side material of the hill part

ArchiCAD 11 GDL Reference Guide

39

3D Shapes

angle: the inclination angle of the hill side edges. Restriction: 0 <= angle < 90. If angle = 0, the hill side edges seen from an orthogonal view form a quarter circle with the current resolution (see the commands: “RADIUS” on page 152, “RESOL” on page 153 and “TOLER” on page 154).

hill_height: the height of the hill. Note that the thickness parameter represents the whole height of the FPRISM_.

Restriction of parameters:

n >= 3, hill_height < thickness

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.

hill_height

n

angle

thickness

 

 

 

 

1

 

 

 

 

 

 

 

 

 

2

 

Examples:

 

 

 

 

RESOL 10

 

 

 

 

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

!angle = 0

4, 1.5, 0, 1.0,

 

0,

0,

15,

 

 

5,

0,

15,

 

 

5,

4,

15,

 

 

0,

4,

15

 

 

40

ArchiCAD 11 GDL Reference Guide