Skip to main content
Version: Pre-Released

Distance From Wall and Obstacle

Check Rule

MinDistanceFromWallAndObstacle

The minimum distance between an item and a wall or obstacle.

Notification level

KeyValue
IDMinDistanceFromWallAndObstacle
Translation key (sink cabinet)sink_cabinet_rule_title
cabinet_rule_error_message
Translation key (base cabinet)base_cabinet_rule_title
cabinet_rule_error_message
Translation key (wall cabinet)wall_cabinet_rule_title
cabinet_rule_error_message
Translation key (high cabinet)high_cabinet_rule_title
cabinet_rule_error_message
Translation key (half height cabinet)half_height_cabinet_rule_title
half_height_cabinet_rule_error_message
Translation key (dishwasher)dishwasher_rule_title
dishwasher_rule_error_message
Translation key (washer)washer_rule_title
washer_rule_error_message
Translation key (fridge)fridge_rule_title
fridge_rule_error_message

Behavior

This rule checks if the distance between an item and a wall or an obstacle matches the minimum distance set in the application, in order to prevent the user from planning an invalid kitchen.


Trigger Conditions

It is triggered if the distance between an item and a wall or an obstacle is less than the chosen minimum distance, the rule is triggered and the application warns the user to modify the position of this cabinet.


Affected Products

The affected appliances are sink, dishwasher, washer, fridge, wall, high, half height and base cabinets, wall-mounted items with targetPosition set as "onWall".

If two affected products and obstacle or Wall are closer than the minimum value, the rule is triggered. If the front side of the cabinet is overlapped by the front side of the obstacle and the distance between them is closer than the minimum value.

The fridge product must have a closed tag "Refrigerators" as well as an option with an ID "layout" and for value "freeStanding".

This information is mandatory in order to have a check on freestanding fridges.

  • The base cabinet product must have a closed tag BaseCabinets.
  • The wall cabinet product must have a closed tag WallCabinets.
  • The high cabinet product must have a closed tag HighCabinets.
  • The half height cabinet product must have a closed tag HalfHeightCabinets.
  • The washer product must have a closed tag Washers.
  • The dishwasher product must have a closed tag Dishwashers.
  • The sink product must have a closed tag Sinks.
  • Wall mounted items with behaviour(targetPosition) set as onWall.

This information is mandatory in order to have a check on the freestanding fridges.

For example

In the images below an obstacle (small element) and a freestanding fridge (large element) are placed in two different ways: in one case, the rule is triggerd, in the other it is not.

Triggers the ruleDoes NOT trigger the rule
Triggers the ruleTriggers the rule

Overload Parameter

Key nameTypeDefault valueDescription
minDistancenumber50This parameter defines the necessary minimum distance between base/high/wall/half height cabinet / wall-mounted item and the wall/obstacle. Mandatory.
minDistanceSinknumber100This parameter defines the necessary minimum distance between sink cabinet and the wall/obstacle. Mandatory.
minDistanceFridgenumber150This parameter defines the necessary minimum distance between fridge and the wall/obstacle. Mandatory.
distancenumber50(Deprecated, use minDistance)
This parameter defines the necessary minimum distance between base/high/wall/half height cabinet and the wall/obstacle.
distanceSinknumber100(Deprecated, use minDistanceSink)
This parameter defines the necessary minimum distance between sink cabinet and the wall/obstacle.
distanceFridgenumber150(Deprecated, use minDistanceFridge)
This parameter defines the necessary minimum distance between fridge and the wall/obstacle.

Sample

{
"minDistance":50
}
{
"minDistanceSink":100
}
{
"minDistanceFridge":150
}

Illustration

Case 1 – Check with sink cabinet

The distance between the sink cabinet and the wall is too small, the rule is triggered and informs the user to change the position of this cabinet. A notification is displayed to guide the user through the changes.

Distance too small

Once the user has moved the sink cabinet away from the wall to a distance of at least 100 mm (the overload value in this example).

Distance too small

After clicking the Refresh the check on the Help center, the design is error free.

Case 2 – Check with base/wall/high/half height cabinet

The distance between the base cabinet and the wall is too small, the business rule is triggered and informs the user to change the position of this cabinet. An animation is displayed to guide the user through the changes.

Distance too small

Once the user has moved the base cabinet away from the wall to a distance greater than or equal to 50 mm (the overloaded value in this example).

Distance too small

After clicking the Refresh the check on the Help center, the design is error free.

Case 3 – Check with freestanding fridge

The distance between the freestanding fridge and the wall is too small, the business 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.

Distance too small

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 the Refresh the check on the Help center, the design is error free.

Distance too small

Case 4 – Check with wall mounted item

The distance between the wall-mounted item and the wall is too small, the business rule is triggered and informs the user to change the position of this item.

Distance too small

Once the user has moved the wall-mounted item away from the wall to a distance greater than or equal to 50 mm (the overload value in this example).

After clicking the Refresh the check on the Help center, the design is error free.

Distance too small