Restroom building configurator logic: room layout, floor plan and transport modules
How a restroom building configurator works out length, depth, room rows and transport modules from WCs, showers and services, with worked examples.
Short answer: a restroom building configurator works from the inside out. Each room type has a width; rooms are lined up with partitions between them; the outer walls are added; and length, depth, floor area and the number of transport modules follow. Three rules then check the result: do the showers have services? Are two rows of rooms the same length? Does the building fit in one module? In the example configurator every size is an example value, and we recalculated the arithmetic for several cases.
Which room modules does the example use?
The demo works with room modules of fixed width and a shared room depth of 2.20 m. All values are example sizes for a fictional product.
| Room | Width (example) | Door (example) | Count |
|---|---|---|---|
| Single WC | 1.50 m | 0.90 m | 0 to 6 |
| Shower room | 1.30 m | 0.90 m | 0 to 4 |
| Large WC room | 2.20 m | 1.00 m | yes or no |
| Family / changing room | 2.20 m | 1.00 m | yes or no |
| Utility room | 1.40 m | 0.90 m | if chosen |
Add 0.10 m per partition and 0.20 m per outer wall. A service chase behind the rooms is 0.80 m deep. These values live in a separate data file; for your product they are replaced with your dimensions.
How is the outside size worked out?
For a single row: length = sum of room widths + partitions + two outer walls. Depth = room depth + two outer walls, plus the chase and one partition if there is a service chase.
Worked example for the default (two single WCs, large WC room, family room, utility room, in a row): 2.20 + 2.20 + 1.50 + 1.50 + 1.40 = 8.80 m of rooms, plus four partitions (0.40 m) and two outer walls (0.40 m), giving 9.60 m. Depth 2.20 + 0.40 = 2.60 m. The demo shows 9.60 × 2.60 m, which matches the hand calculation.
What do the three typical buildings come to?
| Preset | Rooms | Layout | Outside size (recalculated) | Modules |
|---|---|---|---|---|
| Trailhead | 1 WC, large WC room, utility room | in a row | 5.70 × 2.60 m | 1 |
| City park | 3 WCs, large WC room, family room, utility room | in a row | 11.20 × 2.60 m | 1 |
| Campsite | 4 WCs, 4 showers, large WC room, family room, service chase | back to back | 8.60 × 5.80 m | 2 |
We recalculated these from the example sizes. The city park shows the module limit nicely: a fourth WC makes the building 12.80 m long, and the configurator reports delivery as two modules.
When is the building delivered in several modules?
The demo uses an example limit of 12.0 × 3.0 m per transport module. The number of modules is length divided by 12 m, rounded up, times depth divided by 3 m, rounded up. The campsite building is 5.80 m deep, more than 3 m, so it needs two modules although it is only 8.60 m long. The independent check of the demo recalculated 13 rooms in a row: 21.60 m, two modules.
For your product you replace the limit with your own, which depends on your factory, vehicles and cranes. The configurator does not work out transport permits; it only reports how many modules your rule produces.
How are two rows of rooms balanced?
With "back to back", the demo places each room on whichever row is currently shorter. If the rows still differ, there are two cases:
- Small difference (under 1.00 m): the last room of the shorter row is widened. Example from the check: a large WC room plus three WCs gives rows of 3.80 m and 3.10 m; the last WC becomes 2.20 m wide and the building measures 4.20 × 4.90 m.
- Large difference (1.00 m or more): the shorter row gets a store room, and a check reports it with its width.
With only one room, back to back is not possible; the demo builds a single row and warns.
Which checks run?
- Rooms and doors: number of rooms with their own outside door and total doors, plus the chase door if there is one. With no room, a red message appears.
- Transport modules: one module or the split, as above.
- Services for showers: showers without a utility room or service chase trigger a warning.
- Row balance: a note when a store room has been added.
- Door swing: doors open outwards; the check states the widest door and the 2.50 m paved area in front.
All checks are example rules. Which rules apply to your product, for example clear space in front of doors, is set by you as the manufacturer.
How do roof, facade and extras follow the building?
The envelope follows the plan. The flat roof has a parapet with coping, the mono-pitch rises at 7° towards the door side, and the gable roof has 25° and an overhang (all example values). The overall height in the review therefore depends on roof form and depth: a deep back-to-back block with a gable roof is much taller than a single row.
Extras count too: one skylight per room, one sign per door. The canopy over the doors is 1.20 m deep; with a gable roof it is shown as an extended eave of 1.30 m. Facades come in split-face block, timber cladding, metal panel and render with three tones each; colours with a RAL code appear in the enquiry as "RAL … similar", because screen colours are approximate.
What comes out at the end
Review, enquiry text and PDF use the same list of lines: outside size, floor area, rooms, room order, services, roof, overall height, facade, door colour, canopy, skylights, door signs, exterior lights and transport modules, plus contact, location type, delivery and the checks. The PDF contains a 3D view and the floor plan. Nothing is sent in the demo.
Example configurator · fictional product
Prefab restroom building configurator
Plan a prefab restroom building for a park, campsite or trailhead: pick the rooms, set the layout, roof and facade, tap doors to open them – with a roof-off floor plan, a day/night view and a PDF enquiry.
Try it in the restroom building configurator. Who benefits is covered in restroom building configurator for manufacturers. How the floor plan, day/night view and PDF are built is in building a configurator for halls and modular buildings; the project process in 3D configurator development.
Send us your room modules with sizes and your transport limit.
Frequently asked questions
Can the hinge side of each door be chosen?
Not in the demo: all doors are hinged on the left seen from outside and open outwards. In a project, the hinge side per room can be an option.
Do the room sizes meet a regulation?
The demo makes no statement on that. They are example sizes; your checked room types are what count.
Can it show the building on the site?
The demo shows a paved area in front of the doors. Placing the building on a real site plan would be a project requirement.
Sources
- Modelwright library, restroom building configurator, "Live in this demo" list, read 14 November 2026: modelwright.de/en/library/restroom-building-configurator/


