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.
width
Door width in cm (default 90)
90height
Door height in cm (default 210)
210doorType
Type: single, double, sliding, pocket
singleswing
Swing direction: left, right, both
lefthasFrame
Include door frame (default true)
trueframeThickness
Frame thickness in cm (default 5)
5material
Door panel material/color
#8B4513autocut
Auto-cut wall openings (default true)
truerefpos
Wall attachment reference
wall1.2x, y, z
Position in 3D space
0, 0, 0rx, ry, rz
Rotation angles in degrees
0, 0, 0Door 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:
door
80
210
single
left
#8B4513This 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:
door
160
220
double
both
#5D4037This creates a 160cm wide double door with both panels opening outward.
Wall-Attached Door
Attaching a door to a wall with automatic cutting:
door
90
210
true
wall1.5This door attaches to face center 5 of wall1 and automatically creates an opening.
Standard Dimensions
Common door sizes for reference.
80
200-21070
20070
20090-100
210-220140-180
210-24090+
210Wall 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 wall1wall1.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.