Graphisoft®

Basic Library Version: 16

Plaster Geometry Macro

  1. General Description
  2. Parameters
  3. Usage

1. General Description

This macro is commonly used by the RevealGeometry, CavityClosure and TurnPlaster macros to retrieve information about the turned plaster skins.

2. Parameters

Input parameters

Name Type Description
gs_macro_version Integer Version of the macro
AC_Wall_Direction_Type Integer Wall direction type
0 Right
1 Left
2 Center (Right)
3 Center (Left)
bEnablePlasterLeftIn Boolean Enable/Disable left inside plaster turn
bEnablePlasterLeftOut Boolean Enable/disable left outside plaster turn
bEnablePlasterRightIn Boolean Enable/disable right inside plaster turn
bEnablePlasterRightOut Boolean Enable/disable right outside plaster turn
gs_useWallFinishSkin Boolean "Use Wall Finish Skins"
gs_maxPlasterThk Length Wall skin classification parameter. Consider skin as plaster if it is thinner than this.
gs_bAutoTurnOut Boolean Auto turn skins at opposite-side
gs_bOverOut Integer Number of turned skins at opposite-side
gs_bAutoTurnIn Boolean Auto turn skins at reference-side
gs_bOverIn Integer Number of turned skins at reference-side

Returned parameters

The PlasterGeometry macro returns with the following parameters

Name Type Description
thkPlasterAtSillLeft Length Thickness of turned plaster skins at left sill side
thkPlasterAtSillRight Length Thickness of turned plaster skins at right sill side
thkPlasterAtBoardLeft Length Thickness of turned plaster skins at left board side
thkPlasterAtBoardRight Length Thickness of turned plaster skins at right board side
possibleSkinTurnIn Integer Number of plaster skins at the reference side
possibleSkinTurnOut Integer Number of plaster skins at the opposite side
maxSkinTurnIn Integer Number of possible turned plaster skins at the reference side
maxSkinTurnOut Integer Number of possible turned plaster skins at the opposite side
nSkinTurnIn Integer Number of actually turned skins at the reference side
nSkinTurnOut Integer Number of actually turned skins at the opposite side

3. Usage

Example scripts

The following example script demonstrates the usage of this macro:

Master Script

For implementing the parameter logic of the Cavity Closure, you have to call this macro passing the following parameters.

! ============================================================================= ! Plaster Geometry ! ============================================================================= call "PlasterGeometry" parameters gs_macro_version = 12, AC_Wall_Direction_Type = AC_Wall_Direction_Type, bEnablePlasterLeftIn = bEnablePlasterLeftIn, bEnablePlasterLeftOut = bEnablePlasterLeftOut, bEnablePlasterRightIn = bEnablePlasterRightIn, bEnablePlasterRightOut = bEnablePlasterRightOut, gs_useWallFinishSkin = gs_useWallFinishSkin, gs_maxPlasterThk = gs_maxPlasterThk, gs_bAutoTurnOut = gs_bAutoTurnOut, gs_bOverOut = gs_bOverOut, gs_bAutoTurnIn = gs_bAutoTurnIn, gs_bOverIn = gs_bOverIn, returned_parameters thkPlasterAtSillLeft, thkPlasterAtSillRight, thkPlasterAtBoardLeft, thkPlasterAtBoardRight, possibleSkinTurnIn, possibleSkinTurnOut, maxSkinTurnIn, maxSkinTurnOut, nSkinTurnIn, nSkinTurnOut

Wall skin classification

If then gs_useWallFinishSkin parameter is on, the wrapper (plaster) skins identified with the finish properties of the composite wall skins.

If the gs_useWallFinishSkin parameter is off, then the gs_maxPlasterThk parameter helps to identify the wall wrapper (plaster) skins. The macro starts to evaluate the wall skins from the sides of the wall. A skin is considered as wrapper (plaster) if it is thinner than the gs_maxPlasterThk's value and is not a core skin. The evaluation stops when the first skin is reached which doesn't fulfill these requirements.

The classified wrapper (plaster) skins affect both the Turn Plaster and the Cavity Closure functions.

Turned plasters

The macro can turn all skins classified as wrapper (plaster) skins automatically depending on the gs_bAutoTurnIn and gs_bAutoTurnOut parameters.

If manual turn was selected the macro can turn any number of skins given with the gs_bOverIn and gs_bOverOut parameters. The number of turned skins is limited to the number of skins classified as wrapper (plaster).

The Turn Plaster function is independent from the cavity closure mode being used inside the wall. The turned part of the plaster has the same thickness as the normal part in the composite structure (marked with T in the following figure). Note, that the plaster is turned to the window frame.

The second image displays the contour lines only which are used in DXF/DWG export.

Turned plaster part keeps its thickness