Edge-Edge and Worktop Compatibility
EdgeEdgeCompatibilityRule
Compatibility of edge finishes with the worktop configuration.
Notification level: ⚠
Key | Value |
---|---|
ID | EdgeEdgeCompatibilityRule |
Translation key (inner corner) | edge_arc_compatibility :{ title } edge_edge_compatibility.inner_corner_incompatibility |
Translation key (outer corner) | edge_arc_compatibility :{ title } edge_edge_compatibility.outer_corner_incompatibility |
Translation key (joint) | edge_arc_compatibility :{ title } edge_edge_compatibility.joint_incompatibility |
Behavior
This rule checks if the edge finishes are compatible with other edge finishes in the current worktop configuration, in order to prevent the user from creating an invalid kitchen.
Trigger Conditions
It is triggered if an edge finish is not compatible with another edge finish for the current worktop configuration. The application warns to modify the edge finish of this worktop board.
Overload Parameter
Key name | Type | Default value | Description |
---|---|---|---|
finishes | object | – | An object containing all the edge-edge rules you need to define. See the sample below. Mandatory. |
Sample:
In the overloads sample below, the mentioned `rule1 is the name of the rule that contains the information about the edge compatibility. However, the user can put whatever s/he wants.
In addition, edge1
and edge2
are the mandatory fields that indicate the ID of the product edge finish that needs to define the compatibility.
{
"finishes":
{
"rule1": {
"edge1": "14169",
"edge2": "14169",
"innerAllowed": true,
"jointAllowed": true,
"outerAllowed": true
},
"rule2": {
"edge1": "14170",
"edge2": "14169",
"innerAllowed": true,
"jointAllowed": true,
"outerAllowed": true
},
"rule3": {
"edge1": "15719",
"edge2": "14169",
"innerAllowed": false,
"jointAllowed": false,
"outerAllowed": false
},
"rule4": {
"edge1": "14170",
"edge2": "14170",
"innerAllowed": true,
"jointAllowed": true,
"outerAllowed": true
},
"rule5": {
"edge1": "14170",
"edge2": "15719",
"innerAllowed": false,
"jointAllowed": false,
"outerAllowed": false
},
"rule6": {
"edge1": "15719",
"edge2": "15719",
"innerAllowed": false,
"jointAllowed": false,
"outerAllowed": false
}
}
}
Illustration
Case 1 – Check edge finish with outer corner
The current edge finish of outer corner of this worktop board is incompatible with another edge finishes, the rule is triggered and warns the user to change the type of the edge finish.
Once the user has changed the type of the edge finish for a compatible value (in this case DKACRYLIC_NOEDGE, the overload value) the design is error free.
Case 2 – Check with edge finish with joint
The current edge finishes added on both sides of the joint is incompatible, the rule is triggered and warns the user to change the type of the edge finish.
Once the user has changed the type of the edge finish for a compatible value (in this case DKACRYLIC_NOEDGE that is the overload value) the design is error free.