Carport configurator rules for material, roof and size
The rules a carport configurator needs: type and width kept in step, storage room and depth, roof pitch per form, and a construction per material.
Short answer: a carport configurator needs few rules, but firm ones: ranges for width, depth and clearance height, a link between carport type and width, a minimum depth for the storage room, a pitch per roof form, and its own construction for each material. Our example configurator applies these rules with example values. In your project, your size grid and system documents replace them.
Which parameters does a carport have?
The example has eleven inputs. All values are example values of a fictional product, taken from the demo's source code:
| Parameter | Values in the example | Dependency |
|---|---|---|
| Type | Single or double carport | Sets the width to 3.4 m or 6.0 m |
| Width | 2.8 to 7.2 m in 0.1 m steps | From 5.0 m the type becomes "double" |
| Depth | 5.0 to 7.8 m | At least 6.8 m with a storage room |
| Clearance height | 2.1 to 2.7 m in 0.05 m steps | Dimension line at the front post |
| Roof | Flat with fascia, mono-pitch, gable | Pitch 0°, 7° or 25° |
| Material | Timber, powder-coated steel, aluminium | Own construction per material |
| Colour | 4 metal colours; timber: spruce, larch, grey stain | Metal colour for steel, aluminium and roof sheeting, timber type for timber |
| Walls | None, back, side, side and back | A storage room always closes the back |
| Storage room, gutter and downpipe | On/off | See below |
How do carport type and width stay in step?
Type and width are two routes to the same decision, so each has to follow the other. In the example:
- Choosing "single carport" sets the width to 3.4 m; "double carport" sets it to 6.0 m.
- Dragging the width instead switches the type at 5.0 m: from that width the carport counts as a double, and a second car drives into the model. Below 5.0 m it drives out again.
The type can therefore never contradict the width, and a later enquiry never reads "single carport, 6.5 m wide". In your range, your own size grid takes the place of the 5.0 m threshold, for example fixed widths per type instead of a slider.
How is the storage room handled?
In the example the storage room sits at the back and takes a fixed depth. So that a car still fits in front of it, the carport needs a minimum depth. The rule: if the storage room is switched on and the depth is under 6.8 m, the configurator sets the depth to 6.8 m. A deeper carport keeps its depth. In the example the rule only acts when the storage room is switched on; if the buyer then drags the depth back down, the demo does not correct it again. In a project the minimum depth should hold then too. With a storage room the back is always closed, even if "no walls" is selected.
This rule corrects rather than blocks. It suits carports because the buyer immediately sees why the carport got longer. Your rule may look different: a note with a suggestion, or storage rooms only in the depths your price list offers.
What do roof form and material change?
Each roof form has a fixed pitch in the example: flat at 0° behind a fascia, mono-pitch 7°, gable 25°. When switching between mono-pitch and gable, the roof first folds flat and then rises into the new form, so the change is easy to follow.
Material changes more than the surface. Each of the three systems has its own build-up in the example:
- Timber: posts on galvanised post bases, double beams either side of the posts, knee braces, rafters.
- Powder-coated steel: columns on base plates, frames at the ends, cross members.
- Aluminium: columns with a base cover, frame profiles, rafters.
The "show structure" view tints the frame, makes the roof sheeting see-through and labels posts, beams, rafters and the post base with fictional example sections and spacings. Every section and spacing is illustrative; the demo itself labels them "Querschnitte illustrativ – keine Statik" (sections illustrative, not a structural design). Which spans, sections and spacings a real system needs is set by the manufacturer and its structural engineer. The configurator takes those values from your documents and does not recalculate them.
Which of your documents replace the example values?
- Size grid: the widths, depths and clearance heights you supply, per material and roof form.
- Permitted combinations: for example a gable roof only from a certain width, or storage rooms only in certain depths, as your system documents set them.
- Members per system: profiles, timber sections, post bases and spacings from your drawings, so the structure view shows your product.
- Colours and timber types with your names.
- Accessories: wall types, storage rooms, drainage, lighting.
Where a rule only exists in someone's head, we write it down with your sales team as condition, consequence and message. How the model is built from drawings or CAD and kept fast on a website is covered in implementing 3D configurators for outdoor structures.
What the example leaves out
The example ends at the model. There is no summary, no enquiry text, no PDF and no price. In a project, the next step would be a review with every value, an enquiry by email or webhook and, if you want it, a price per material, size and option. The rules above are the basis for that: whatever is valid on the model is valid in the enquiry.
Example configurator · fictional product
Carport configurator
A carport: single or double, width, depth and clearance height, timber, steel or aluminium, roof shape, walls and storage room – with dimensions and the structure.
You can try the rules in the carport configurator. Who a configurator like this is for is covered in carport configurator software for carport manufacturers. For the project itself, see custom 3D configurator development.
Frequently asked questions
Can I use the spacings shown in the structure view?
No. They are fictional example values for illustration. In your project the values from your system documents apply; the structural design stays with you and your structural engineer.
Can it use fixed sizes instead of sliders?
Yes. If you only supply certain sizes, the buyer picks from a list. That also simplifies the price rules.
Block or correct automatically?
Both work. Correcting automatically suits cases where the consequence is visible, as with the storage room. Blocking with a reason suits cases where there are several possible fixes.
Sources
- Modelwright library, carport configurator: "Live in this demo" list, read 14 November 2026: modelwright.de/en/library/carport-configurator/


