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

3D Shapes

XWALL_

XWALL_ left_material, right_material, vertical_material,horizontal_material, height, x1, x2, x3, x4,

y1, y2, y3, y4, t, radius,

log_height, log_offset, mask1, mask2, mask3, mask4, n,

x_start1, y_low1, x_end1, y_high1, frame_shown1,

...

x_startn, y_lown, x_endn, y_highn, frame_shownn,

m,

a1, b1, c1, d1,

...

am, bm, cm, dm, status

Extended wall definition based on the same data structure as the BWALL_ element.

Additional parameters:

vertical_material, horizontal_material: name or index of the vertical/horizontal side materials. y1, y2, y3, y4: the projected endpoints of the wall lying in the x-y plane as seen below.

Y

y4

 

 

 

 

y1

 

 

 

 

y2

 

 

 

 

y3

 

 

 

X

x1

x2

x3

x4

 

ArchiCAD 11 GDL Reference Guide

49

3D Shapes

log_height, log_offset: additional parameters allowing you to compose a wall from logs. Effective only for straight walls.

status: controls the behavior of log walls.

status = j1 + 2*j2 + 4*j3 + 32*j6 + 64*j7 + 128*j8 + 256*j9 j1: apply right side material on horizontal edges

j2: apply left side material on horizontal edges j3: start with half log

j6: align texture to wall edges j7: double radius on bended side j8: square log on the right side j9: square log on the left side

Example:

XWALL_ "Whitewash", "Whitewash", "Whitewash", "Whitewash",

3.0,

4.0,

4.0,

0.0,

0.0,

0.0,

0.0,

0.3,

1.2,

1.2,

0.0,

 

 

 

0.0,

0.0,

 

15,

 

15,

15,

15,

 

3,

 

 

 

 

 

0.25, 0.0, 1.25, 2.5, -255,

1.25,

1.5,

2.25,

2.5,

-255,

0

2.25,

0.5,

3.25,

2.5,

-255,

logheight

logoffset

50

ArchiCAD 11 GDL Reference Guide

3D Shapes

XWALL_{2}

XWALL_{2} left_material, right_material, vertical_material,horizontal_material, height, x1, x2, x3, x4,

y1, y2, y3, y4, t, radius,

log_height, log_offset, mask1, mask2, mask3, mask4, n,

x_start1, y_low1, x_end1, y_high1, sill_depth1, frame_shown1,

...

x_startn, y_lown, x_endn, y_highn, sill_depthn, frame_shownn,

m,

a1, b1, c1, d1,

...

am, bm, cm, dm, status

Extended wall definition based on the same data structure as the XWALL_ element.

Additional parameters:

silldepthi: logical depth of the opening sill. If the j9 bit of the frame_showni parameter is set, the wall side materials wraps the hole polygons, silldepthi defining the separator line between them.

frame_showni = -(1*j1 + 2*j2 + 4*j3 + 8*j4 + 16*j5 + 32*j6 + 64*j7 + 128*j8 + 256*j9 + 512*j10)

There are two additional values to control the material wrapping. The meaning of the j1, j2 ... j8 values are the same as at the CWALL_ and XWALL_ commands. The j9 value controls the material of the hole polygons. If j9 is 1, the hole inherits the side materials of the wall. The j10 value controls the form of the separator line between the hole materials on the upper and lower polygons of the hole in case of a bent wall. If the j10 value is 1, the separator line will be straight, otherwise curved.

ArchiCAD 11 GDL Reference Guide

51

3D Shapes

Example:

ROTZ 90

xWALL_{2} "C13", "C11", "C12", "C12",

2,

0,

4,

4,

0,

0,

0,

1,

1,

 

1,

0,

 

 

 

0,

0,

 

15,

15,

15,

15,

1, 1, 0.9, 3, 2.1, 0.3, -(255 + 256), 0, 0

BODY -1

DEL 1

ADDX 2

xWALL_{2} "C13", "C11", "C12", "C12",

2, 0, 2

* PI, 2

* PI, 0,

0,

0,

1,

1,

 

 

0,

0,

 

15,

15,

 

15,

15,

 

1,

 

 

 

 

 

1.6, 0.9, 4.6, 2.1, 0.3, -(255 + 256), 0, 0

BODY -1

ADDX 4

xWALL_{2} "C13", "C11", "C12", "C12",

2, 0, 2

* PI, 2

* PI, 0,

0,

0,

1,

1,

 

 

1,

2,

 

 

 

 

0,

0,

 

15,

15,

 

15,

15,

 

1, 1.6, 0.9, 4.6, 2.1, 0.3, -(255 + 256 + 512), 0, 0

BEAM

BEAM left_material, right_material, vertical_material, top_material, bottom_material, height, x1, x2, x3, x4,

y1, y2, y3, y4, t,

mask1, mask2, mask3, mask4

Beam definition. Parameters are similar to those of the XWALL_ element.

52

ArchiCAD 11 GDL Reference Guide