Object Type Creation - Doors and Windows

Like for walls and slab, it is possible to assign an Object Type with a UDF to a Door (and Window) feature.

The list of input parameters that the UDF can obtain for the features is in the table below. The only mandatory input is the Position axis system, Usually the outputs will contain a surface, or a volume named Opening, used to cut the opening in the wall.

The attached movie shows how the controls to position the door feature work seamlessly for the UDF outputs too.

DOOR 

Base Axis System

or Position

Axis System used to position the door, typically at the bottom mid-point of the door’s panel. Z up, X normal away from the wall
WidthWidth of the door corresponding to the rough opening for its panel
HeightHeight of the door corresponding to the rough opening for its panel
PanelThicknessThickness of the door’s panel
SwingSideAn integer with value 1 for left handed, 2 for right handed
OpeningAngleZero for a shut door, a value in degree for a door ajar. Applies to swing doors
OpeningPercentZero for a shut door, a value in degree for a door ajar. Applies to sliding doors
CasingWidthThe width of the door’s casing
CasingThicknessThe thickness of the door’s casing
LiningThicknessThe thickness of the door’s lining
LiningSpaceThe gap between panel and lining
WallThicknessThe thickness of the wall hosting the door
OpeningAn UDF output surface or volume used to cut the opening in the wall
TEMINOLOGY   

 

 

 

 

 

 

 

 

 

 

 

 

Complete DoorCasingLiningOpening (in yellow)

 

 

​​​​​​​

 

A Door feature with a Door Object Type

 

Similar considerations apply to a Window feature

WINDOW 
PositionAxis System used to position the window, typically at the bottom mid-point of the window’s panel. Z up, X normal away from the wall
WallThickness  The thickness of the wall hosting the window
WidthWidth of the window
Height Height of the window
CasingWidthThe width of the window’s casing
CasingThickness The thickness of the window’s casing
LiningThicknessThe thickness of the window’s frame (lining)
LiningSpace The gap between window and frame (lining)
GlassThicknessThe thickness of the window's glass
OpeningAngleThe open angle of a casement window
SashWidthThe width of the window's sash
SashThickness The thickness of the window's sash
OpeningAn UDF output surface or volume used to cut the opening in the wall

​​​​​​​ For detailed instructions, see the youtube video here: https://youtu.be/TAouHhtHDvI

 

And here is the 3dxml of the Object Type