Distance Between Worktop and Wall Unit Rule
WorktopWallUnitDistanceRule
Distance between the worktop and the wall unit.
Notification level: ⚠
Key | Value |
---|---|
ID | WorktopWallUnitDistanceRule |
Translation key | worktop_wall_unit_rule_title worktop_wall_unit_rule_error_message |
Behavior
This rule checks the distance between the worktop and the wall units above it. The computation of the distance is calculated between the top of the worktop and the bottom of the box of the wall unit.
Trigger Conditions
It is triggered if the distance between the worktop and the wall units is less than the chosen distance parameter for the current configuration, the rule is triggered and the application recommends to modify the distance between the worktop and wall unit in order to prevent the user from creating an invalid kitchen.
Overload Parameter
Key name | Type | Default value | Description |
---|---|---|---|
minDistance | number | 550 | This parameter defines the necessary minimum distance between the worktop and the position of the wall units. Mandatory. |
distance | number | 550 | (Deprecated, use minDistance) This parameter defines the necessary minimum distance between the worktop and the position of the wall units. |
For example:
{
"minDistance":550
}
Illustration
The distance between the worktop and the wall units is less than the chosen distance for this configuration, the business rule is triggered and informs the user to modify the distance between these cabinets. An animation is displayed to guide the user through these changes.
Once the user has moved the wall unit to a distance greater than or equal to 550 mm (the overload value in this example).
After clicking Refresh the check on the Help center, the design is now error free.