Distance Between Cut and other Operation
CutToAnyOperationRule
Distance between a cut and another cut, a hob or a sink.
Notification level: ⚠
Key | Value |
---|---|
ID | CutToAnyOperationRule |
Translation key (cut/cut case) | min_dis_cut_to_cut_title cut_cut_distance_rule_error_message |
Translation key (cut-out/sink or hob case) | min_dis_cut_to_hob-sink-cutout_title cut_hob_sink_cutout_rule_error_message |
Behavior
In order to prevent the user from planning a dangerous kitchen, this rule checks the distance between:
- A cut and another cut of the worktop
- A cut and a hob
- A cut and a sink
Trigger Conditions
It is triggered if the distance between a cut and another cut of the worktop is less than the distance parameter set in the application. The application warns the user to modify the cut position or to change the dimension to suit the minimum values.
It is also triggered if the distance between a cut and a hob or a sink is less than the distance parameter. The application warns the user to modify the cut position to suit the minimum values.
Affected Products
The sink product must have a closed tag Sink
.
The cooktop product must have a closed tag Cooktops
.
This information is mandatory in order to have a check on the cut.
Overload Parameter
Key name | Type | Default value | Description |
---|---|---|---|
minDistance | number | 50 | This parameter defines the necessary minimum distance for the cut to another cut or sink/hob. Mandatory. |
distance | number | 50 | (Deprecated, use minDistance) This parameter defines the necessary minimum distance for the cut to another cut or sink/hob. |
Sample
{
"minDistance":50
}
Illustration
Case 1 – Check between a cut and another cut
The distance between a cut and another cut of the worktop is less than the distance parameter. An animation is displayed to guide the user through the changes.
Once the user has moved the cut away from the other worktop cut to a distance of at least 50 mm (the overload value in this example), the design is error free.
Case 2 – Check between a cut and a sink or hob
The distance between a cut and the sink is less than the distance parameter. An animation is displayed to guide the user through the changes.
Once the user has moved the cut away from the sink to a distance of at least 50 mm (the overload value in this example), the design is error free.