Patchwork 3D Community 2021.1 X5

Definition of a Rule

Configuration rules are the expressions that determine which options to display, and under which conditions to display them.

Configuration rules are expressed as Boolean expressions. A rule consists of:

  • The definition of one or more symbols in the form "partition" or "partition.value_n". Each symbol represents a condition that can be true or false based on selections made by the end user.

  • Optionally, the logical operators (AND, OR, NOT, XOR) that express relations between the symbols.

  • The assignment of target layers.

Rules are evaluated logically. This evaluation leads to one of two values: true or false. When a rule is true, the rule’s target layers are visible. Otherwise, they are hidden.

Using the Configuration Browser in this software and other display software, you or your end user can select the options to display. This selection determines which simple rules are defined, and which are not defined. The evaluation of complex rules is carried out based on these user-indicated definitions.

You can create as many rules as necessary in order to create a complete range from a base product.