Distance Between Fridge and Obstacle
FridgeRule
Distance between a freestanding fridge and any obstacle.
Notification level: ℹ
Key | Value |
---|---|
ID | FridgeRule |
Translation key | fridge_rule_title fridge_rule_error_message |
Behavior
This rule checks the distance between a freestanding fridge and a wall or any obstacle around it, in order to save the user from planning an invalid kitchen. The application recommends to move the freestanding fridge to a better position.
📌 The verification is done with the bounding box of the product to the left and right directions, not at the back.
Trigger Conditions
It is triggered if the distance between a freestanding fridge and an obstacle is less than the minimum distance.
Affected products
The rule affects the products with:
- The closed tag
Refrigerators
- The parameter
layout
with the valuefreeStanding
This information is mandatory in order to have a check on the freestanding fridges.
Overload Parameter
Key name | Type | Default value | Description |
---|---|---|---|
minDistance | number | 150 | This parameter defines the minimum distance in millimeters between the freestanding fridge and any obstacle around it. Mandatory. |
distance | number | 150 | (Deprecated, use minDistance) This parameter defines the minimum distance in millimeters between the freestanding fridge and any obstacle around it. |
For example:
{
"minDistance":150
}
Illustration
A freestanding fridge is close to a wall, the rule is triggered and informs the user to change the position of this appliance. An animation is displayed to guide the user through the changes.
Once the user has moved the freestanding fridge away from the wall to a distance greater than or equal to 150 mm (the overload value in this example).
After clicking Refresh the check on the Help center, the design is now error free.