Site cabin configurator logic: wall grid, room zones, stacking and towable rules
How a site cabin and welfare unit configurator handles wall positions, room zones, stacking and a towable chassis as rules, with examples from our demo.
Short answer: a site cabin can be described with four groups of rules. Module: length, width and height from fixed lists. Wall grid: each position is solid, a window, a door, a louvre or a double door. Room zones: each bay along the length belongs to a room. Build: single, stacked or towable, with exclusions between them. Checks tie the groups together, such as "a room people use without a window". Our example configurator implements all four with example values.
Which module sizes exist, and what follows?
The length decides how many wall positions a long side has. In the example:
| Length | Outside length (example) | Positions per long side |
|---|---|---|
| 10 ft | 2.99 m | 2 |
| 12 ft | 3.66 m | 3 |
| 16 ft | 4.88 m | 4 |
| 20 ft | 6.06 m | 5 |
| 24 ft | 7.32 m | 6 |
| 32 ft | 9.75 m | 8 |
Each end wall has two positions. Width is 8 ft (2.44 m) or 10 ft (3.05 m), height standard (2.59 m outside) or high (2.90 m outside). All values are example values for a fictional product and sit in a separate data file that a project replaces with your sizes.
How does the wall grid work?
The buyer taps a wall position in the 3D model or on the plan. Each tap cycles solid → window → door. Louvres and the double door are picked in the edit panel. Two rules limit this:
- Double door on an end wall only. It takes both positions of that end wall.
- Access from the walkway. On a stacked unit, the upper-floor position where the stair arrives stays a door and cannot be changed.
For your range you replace these types with your own, say two window sizes or a door with a vision panel, and set where each is allowed.
What does the use do?
The use is a starting proposal. Choosing office, canteen, drying room, toilet block, store or welfare unit, or changing the length, resets the room layout, windows and doors to a preset. Example: the 20 ft welfare unit has five bays set as canteen, canteen, drying room, WC and generator bay; the end wall at the generator bay gets two louvres and the first front position a door. After that, the buyer can change any position and any zone.
How are room zones set?
With the roof off, the buyer taps a bay and cycles its room: office → canteen → drying room → toilets → store → generator. Neighbouring bays with the same room merge into one room, with furniture blocks and a floor area. A generator bay is not possible upstairs; such a bay becomes a store.
When are stacking and towing possible?
| Build | Rule in the example | What changes |
|---|---|---|
| Stacked | from 16 ft, not towable | external stair, 1.00 m deep walkway, railing; stair on the left or right |
| Towable | up to 24 ft, not stacked | chassis, 1.70 m drawbar, axles, steadies at all four corners |
Invalid combinations are disabled, with a note explaining why. If the buyer switches to a length where the chosen build is not possible, the configurator turns it off and says so. Worked example: a towable 16 ft welfare unit (4.88 m) is about 4.88 + 1.70 = 6.58 m long with its drawbar, and the check states that figure. Stair, walkway and railing are explicitly only an example; design and loads are set by the manufacturer.
Which checks run?
- Access: the ground floor needs an outside door into a room that is not the generator bay; otherwise a red message appears.
- Windows: an office, canteen or drying room without a window triggers a warning.
- Store: a store without an outside door triggers a warning.
- Generator bay: it should sit at one end of the module and have a louvre or an outside door.
- Footprint: length and width including stair or drawbar.
All checks are example rules. Whether a room suits a purpose is judged by you as the maker or hire company, with your own documents.
"Close site": a state, not an option
One click brings the steel roller shutters down, swings locking bars across the doors and turns the lights off. This is not an extra but a state of the model that shows what an option does: if roller shutters were chosen as window protection, the buyer sees them closed. For your sales team it is an argument that is hard to show in a brochure.
What data do you supply?
- module lengths, widths and heights with the number of wall positions per side;
- window, door and louvre types with the positions where they are allowed;
- uses with their standard layout, as your sales team offers them today;
- rules for stacking, stairs and chassis from your approved documents;
- cladding, colours and accessories;
- the fields sales and the hire desk need in an enquiry.
What comes out at the end
The enquiry lists outside size, module, use, stacking, build, usable area, rooms, walls, window protection, extras, cladding, colours, footprint and overall height, plus type of work, buy or hire, and the checks, as text and as a PDF with an exterior view and a roof-off view. Nothing is sent in the demo.
Example configurator · fictional product
Site cabin & welfare unit configurator
Plan a site cabin or welfare unit: length from 10 to 32 ft, use, windows and doors on a grid, tap rooms with the roof off, stack two high or make it towable – and close the site with one click: the shutters come down and the doors are barred.
Try it in the site cabin and welfare unit configurator. Who benefits is covered in site cabin and welfare unit configurator. How animations and plans are built is in building a configurator for halls and modular buildings; the project process in 3D configurator development.
Send us your module lengths, wall grids and stacking rules.
Frequently asked questions
Can several modules be planned side by side?
Not in the demo; it plans one module, single or stacked. Complexes of several modules would be a project requirement.
Are these shipping container sizes?
The demo uses example values for a fictional product. Your range's dimensions are what count.
What happens to my changes if I switch use?
Room layout, windows and doors are reset to the new starting proposal; a note next to the field says so beforehand.
Sources
- Modelwright library, site cabin and welfare unit configurator, "Live in this demo" list, read 14 November 2026: modelwright.de/en/library/site-cabin-configurator/


