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

Miscellaneous

SET MATERIAL "Glass" ROTZ 45

RECT SQR(2)*Z, SQR(2)*Z END

1:

PRISM_ 16, 0.03, 0, -Z, 15, D, -Y, 15, D, -D, 15, Y, -D, 15, Z, 0, 15, Z, D, 15, D, D, 15, D, Y, 15, 0, Z, 15, -D, Y, 15, -D, D, 15, -Y, D, 15, -Z, 0, 15, -Y, -D, 15, -D, -D, 15, -D, -Y, 15

RETURN

2D Related Challanges

Cutting custom wall opening

Placing a door/window cuts a rectangular hole into the wall by default. The size of this hole in 2D is determined by the A parameters of the door/window library part. Impelementing custom reveals or cavity closures requires cutting custom shaped holes in the wall or extending it a bit in the floor plan view.

A correct solution for this issue can be achieved by using the the WALLHOLE2, WALLBLOCK2, WALLLINE2 and WALLARC2 commands.

WALLHOLE2

WALLHOLE2 n, fill_control, fill_pen, fill_background_pen, fillOrigoX, fillOrigoY, fillAngle,

x1, y1, s1,

...

xn, yn, sn

Wall opening definition for the plan view coupled with a cover polygon. Only the cut part of the wall is affected, view wall polygons stay intact. The cover polygon has no contour.

264

ArchiCAD 11 GDL Reference Guide

Miscellaneous

This command can be used in the 2D script of door/window objects only.

The parametrization of the command is mainly the same as the one of POLY2_B{2}. fill_control = 2*j2 + 8*j4 + 16*j5 + 32*j6 + 64*j7

where j2, j4, j5 can be 0 or 1. j2 (2):

draw cover fill on the polygon j4 (8):

local fill orientation j5 (16):

local fill should align with the wall direction (fill origin is in the wall origin and directions are matching) j6 (32), j7 (64):

fill type determination 0: Drafting Fill

32: Cut Fill

64: Cover Fill

Extending the wall polygon

WALLBLOCK2

WALLBLOCK2 n, fill_control, fill_pen, fill_background_pen, fillOrigoX, fillOrigoY, fillAngle,

x1, y1, s1,

...

xn, yn, sn

Wall polygon (extension) definition for the plan view. Both the cut and view wall polygons are cut by the defined polygon. Wall openings defined via WALLHOLE2 in an other window/door object cut the polygon generated by the WALLBLOCK2 command, while wallholes coming from the same object don't.

This command can be used in the 2D script of door/window objects only.

The parametrization of the command is exactly the same as the ones of WALLHOLE2.

WALLLINE2

WALLLINE2 x1, y1, x2, y2

ArchiCAD 11 GDL Reference Guide

265