Built-in wardrobe configurator logic: niche, sloped ceiling, fit checks and parts list
How a built-in wardrobe configurator divides a niche into sections, checks sloped ceilings, doors at the wall and rail heights, and derives a parts list.
Short answer: a configurator for fitted wardrobes needs four building blocks: a division that turns the niche width into buildable sections, a slope that cuts carcass, doors and back panel along with the ceiling, a fit check that tests door, handle, front height and fittings against the niche, and a parts list from the same plan. Our example configurator shows all four with example values. The principle: where possible, a check does not just turn red, it suggests a fix.
What does the example take as input?
| Input | Example values | Affects |
|---|---|---|
| Niche width | 1.20–4.00 m | sections, fillers |
| Niche height | 2.00–2.80 m | carcass height, ceiling filler |
| Niche depth | 450–800 mm | inner depth, sliding doors, rail direction |
| Sloped ceiling | none, left or right; knee wall height, pitch 30, 40, 45, 50 or 60° | angled cut, lowest front |
| Division | automatic or a chosen number, up to 12 | side panels, doors, fittings |
| Fillers, plinth | filler per side 20–600 mm; plinth none, 60 or 100 mm | carcass width, doors at the wall |
| Door type, handle | hinged, sliding, open; grip groove, bar handle, knob | fit check, parts list |
All values are example values of a fictional range. The input fields accept metres or millimetres, such as 2.60 or 2600, and the demo asks buyers to measure in several places and enter the smallest value.
How does the configurator divide the niche?
The fillers come off the niche width first. The configurator splits the rest into equal sections. Under the example rule a section is 300 to 1,000 mm wide, which decides which counts are possible at all. In automatic mode the demo picks the count whose section width comes closest to about 850 mm; for a 3.60 m niche with 50 mm fillers on each side that is four sections. Anyone who picks a count is only offered values that fit the rule, and sees the resulting width.
The door follows from the section width: up to 600 mm a section gets one hinged door, above that two. Sliding doors run on two tracks; their number depends on the width (two to five leaves with a 30 mm overlap), and they only take a recessed grip groove because the leaves pass each other. For tall niches the demo adds a ceiling filler above the carcass, because the longest side panel is 2.50 m under the example rule.
What happens under a sloped ceiling?
The slope starts at the knee wall height and rises at the chosen pitch. The carcass follows it 10 mm lower; tops, back panel, doors and fillers are cut at an angle. Two consequences matter for planning:
- No sliding doors. With a slope, the demo disables sliding doors and states why. If a buyer picks sliding doors first and then turns on the slope, the doors switch to hinged and a message says so.
- The lowest front. The section on the knee wall side is the lowest. Under the example rule its front must be at least 500 mm high. In the test log, a 300 mm knee wall at 30° with a 65 mm filler gave a lowest front of 268 mm, marked red; the suggestion widened the filler on the knee wall side to 470 mm, after which the front was 501 mm and the check turned green.
Whether a wardrobe can be built that way under a real slope is settled by your site survey. The demo shows what your own minimum-height rule can look like inside a configurator.
Which fit checks does the example run?
| Check | Example rule | One-click suggestion |
|---|---|---|
| Hinged door at the wall | filler ≥ door thickness 19 mm + handle projection + 10 mm air, rounded up to 5 mm: grip groove 30, knob 60, bar handle 65 mm | widen the filler or choose the grip groove |
| Lowest front under the slope | at least 500 mm | widen the filler on the knee wall side |
| Clear height per section | rail 1,250, two rails 1,900, drawers and shoe pull-outs 700, shelves 250 mm | shelves instead of a rail |
| Inner depth | below 530 mm: pull-out rail front to back instead of a rail across | note, not an error |
| Sliding doors | only without a slope and from 520 mm niche depth | option disabled with the reason |
The door at the wall is the check you see most clearly in the model. As the door opens, the demo works out in small angle steps where the door edge or the handle meets the wall. If it touches, the door stops at that angle and a red "hits wall" label shows the spot. If nothing touches but the 10 mm of air is missing, the door opens to 90° with a red "too tight" label. In the test log, a door with a bar handle and a 50 mm filler stopped at 89°, with a 20 mm filler at 85°.
These example values sit in a separate data file, apart from the program logic. In a project your hardware data, handle sizes and minimum dimensions replace them.
What is in the parts list?
The example parts list comes from the same plan as the model. It gives part, quantity and size: side panels (one more than sections), bottoms and tops, cut at an angle under a slope, back panel, shelves, hanging or pull-out rails, inner drawers, shoe pull-outs, hinged doors with concealed hinges or sliding leaves with tracks, fillers, ceiling filler, plinth board, LED profiles and handles. The number of concealed hinges depends on the door height: two, three or four per door. The sizes are example cutting sizes, not a production list.
For a project, the list is the test: if it matches your production planners' hand calculation for the default and a few edge cases, such as a steep slope or a shallow niche, that is a good sign the logic behind it is right.
Example configurator · fictional product
Built-in wardrobe configurator
Plan a made-to-measure wardrobe for a niche: enter the size and any sloped ceiling, choose sections, doors and fronts, and see at once whether fillers, doors and fittings fit.
What does a project add?
The demo ends with a review, an enquiry text and a PDF with closed and open views. For your range we would add your construction table with board thicknesses and carcass depths, your hardware and handles with their clearances, your front catalogue, scanned veneers if you want them, a parts list with item numbers or a hand-over to production, and an enquiry by email or webhook. A slope on both sides can be added as well. Data preparation, materials and load time are covered in Building furniture and room configurators, the sales view in Wardrobe configurator for manufacturers and the project process on 3D configurator development. The demo itself is on its library page.
Frequently asked questions
What happens if several checks are red at once?
The review lists all checks. The one-click suggestions sit in the Niche, Layout, Doors and Interior steps, one per step; once it is applied, the next one appears. In the test log, a bar handle with 50 mm fillers turned both fillers red; one click set both to 65 mm.
Can it handle slopes on both sides or across the depth?
The demo has one slope, left or right. The calculation is parametric, so further cases can be added in a project.
Why do the doors open in the model?
Because buyers want to see the fittings. The doors open one after another with LED light, and at the same time you can see whether a door hits the wall.
Sources
- Demo features: "Live in this demo" list on the built-in wardrobe configurator library page, read 15 November 2026: modelwright.de/en/library/built-in-wardrobe-configurator/
- Rules, division, checks and parts list: demo source code (data.js: RANGE, RULE, HANDLES; app.js: division, checks, parts list) and schema notes, read 15 November 2026; examples from the QA log of 15 November 2026, independent round, emulated devices.


