Plaster Geometry Macro
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 | ![]() |
Version of the macro | ||||||||||||
| AC_Wall_Direction_Type | ![]() |
Wall direction type
|
||||||||||||
| bEnablePlasterLeftIn | ![]() |
Enable/Disable left inside plaster turn | ||||||||||||
| bEnablePlasterLeftOut | ![]() |
Enable/disable left outside plaster turn | ||||||||||||
| bEnablePlasterRightIn | ![]() |
Enable/disable right inside plaster turn | ||||||||||||
| bEnablePlasterRightOut | ![]() |
Enable/disable right outside plaster turn | ||||||||||||
| gs_useWallFinishSkin | ![]() |
"Use Wall Finish Skins" | ||||||||||||
![]() |
gs_maxPlasterThk | ![]() |
Wall skin classification parameter. Consider skin as plaster if it is thinner than this. | |||||||||||
| gs_bAutoTurnOut | ![]() |
Auto turn skins at opposite-side | ||||||||||||
| gs_bOverOut | ![]() |
Number of turned skins at opposite-side | ||||||||||||
| gs_bAutoTurnIn | ![]() |
Auto turn skins at reference-side | ||||||||||||
| gs_bOverIn | ![]() |
Number of turned skins at reference-side | ||||||||||||
Returned parameters
The PlasterGeometry macro returns with the following parameters
| Name | Type | Description |
|---|---|---|
| thkPlasterAtSillLeft | ![]() |
Thickness of turned plaster skins at left sill side |
| thkPlasterAtSillRight | ![]() |
Thickness of turned plaster skins at right sill side |
| thkPlasterAtBoardLeft | ![]() |
Thickness of turned plaster skins at left board side |
| thkPlasterAtBoardRight | ![]() |
Thickness of turned plaster skins at right board side |
| possibleSkinTurnIn | ![]() |
Number of plaster skins at the reference side |
| possibleSkinTurnOut | ![]() |
Number of plaster skins at the opposite side |
| maxSkinTurnIn | ![]() |
Number of possible turned plaster skins at the reference side |
| maxSkinTurnOut | ![]() |
Number of possible turned plaster skins at the opposite side |
| nSkinTurnIn | ![]() |
Number of actually turned skins at the reference side |
| nSkinTurnOut | ![]() |
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.




