Element

Door Element

Architectural door components

Overview

The door element creates complete door components including frame, panel, and optional swing arc visualization. Doors can automatically cut openings in walls when attached.

Key Features

  • Multiple door types: single, double, sliding, pocket
  • Configurable frame and panel
  • Swing direction control (left/right/both)
  • Automatic wall cutting when attached
  • Standard door dimensions or custom sizes

Parameters

Configure your door with these parameters.

Parameter Description Example
width Door width in cm (default 90) 90
height Door height in cm (default 210) 210
doorType Type: single, double, sliding, pocket single
swing Swing direction: left, right, both left
hasFrame Include door frame (default true) true
frameThickness Frame thickness in cm (default 5) 5
material Door panel material/color #8B4513
autocut Auto-cut wall openings (default true) true
refpos Wall attachment reference wall1.2
x, y, z Position in 3D space 0, 0, 0
rx, ry, rz Rotation angles in degrees 0, 0, 0

Door Types

Available door configurations.

Single Door

Standard single-panel hinged door. Most common for interior rooms.

  • Single panel with frame
  • Swing arc shows opening direction
  • Standard width: 70-90cm

Double Door

Two-panel door for wider openings. Common for living rooms, offices, or entrances.

  • Two equal-width panels
  • Each panel typically 45-60cm
  • Total width: 120-180cm

Sliding Door

Door that slides along a track. Space-efficient for tight areas.

  • No swing arc required
  • Requires wall space for panel
  • Good for closets, pantries

Pocket Door

Door that slides into a wall cavity. Maximum space efficiency.

  • Disappears into wall when open
  • Requires wall cavity construction
  • Premium option for tight spaces

Usage Examples

Learn how to create doors with these examples.

Standard Interior Door

Creating a typical interior door:

Type Width Height Door Type Swing Material
door 80 210 single left #8B4513

This creates an 80cm wide, 210cm tall single door with left-hand swing in wood brown.

Double Entry Door

Creating a double door for an entrance:

Type Width Height Door Type Swing Material
door 160 220 double both #5D4037

This creates a 160cm wide double door with both panels opening outward.

Wall-Attached Door

Attaching a door to a wall with automatic cutting:

Type Width Height Autocut Refpos
door 90 210 true wall1.5

This door attaches to face center 5 of wall1 and automatically creates an opening.

Standard Dimensions

Common door sizes for reference.

Application Width (cm) Height (cm)
Interior standard 80 200-210
Interior narrow 70 200
Bathroom/WC 70 200
Entry door 90-100 210-220
Double door 140-180 210-240
Accessible 90+ 210

Wall Integration

How doors work with walls.

Automatic Wall Cutting

When autocut is enabled and refpos references a wall, the door automatically cuts an appropriately sized opening in the wall.

  • Opening size matches door dimensions plus frame
  • Cutting volume extends through typical wall thickness
  • Resizing the door updates the wall opening

Reference Position Format

The refpos parameter uses the format wallname.faceindex:

  • wall1.2 - Face center 2 of wall1
  • wall1.5 - Face center 5 of wall1

Use wall face centers to position doors precisely on wall surfaces.

Best Practices

Tips for working with doors effectively.

Recommendations

  • Use standard door heights (200-210cm) for consistency
  • Consider swing direction relative to room layout
  • Ensure adequate clearance for door swing
  • Use darker wood tones for exterior doors
  • Match frame style to overall design theme

Common Applications

  • Residential room configurators
  • Office layout planning
  • Architectural visualization
  • Interior design presentations
  • Building accessibility planning

Common Issues and Solutions

Solutions to frequently encountered problems.

Door not cutting wall

Verify that autocut is set to true and refpos correctly references the wall. The refpos format should be "wallname.faceindex" (e.g., "wall1.2").

Door positioned incorrectly

Doors are centered at their position. When attached to a wall face center, the door center aligns with that point. Adjust position parameters for fine-tuning.

Frame not visible

Ensure hasFrame is set to true. If the door is very narrow, the frame may be proportionally thin. Adjust frameThickness if needed.

Swing arc missing

Swing arcs are only shown for single and double door types, not for sliding or pocket doors which don't swing.

Ready to build?

Start creating with doors

Get Started