This tab contains a list with an overview of all geometrical rules in the chosen module.

One line in the list presents one rule. The list contains 4 columns. The first is the dimension name - the second column is the type of rule, while the third and fourth columns describe the geometries connected to the rule.

In selecting a rule:

  • Options of that rule are shown such as dimension name, value,…
  • In the drawing itself the geometries of the rule will be highlighted. In the above example we see that two planes of the plate in a rule defines the width of the plate.


The Properties of rules

The first four properties are only available for dimensions.

Dimension name: This is actually a variable name that is linked to the dimension. We use the variable name as a unique recognition of the dimension in the module. The name must contain at least one character. The name can contain numbers as long as the first character is not a number. A name can only be used once by one dimension within the module.

Visible: This makes the variable visible in the Review macro dialog box. You can hide dimensions that contain formulas and thus cannot be modified. It can also be useful that one can see the value of a dimension without it being adaptable. You can create a dimension with the only purpose of it to view the value of that dimension: for value of the dimension you enter a number (no formula) and you set the type as flexible.

X: With this button you can remove the selected rule.

Value: This can be an ordinary number, a dimension name or an equation. For example “Length1+Length2”.

You can use the following mathematical symbols to create equations:

    • +-/*: To add, subtract, divide and multiply.
    • sin()  cos()  tan(): Calculates the sine/cos/tangent of the value that stands between the brackets. The value between the brackets can itself be a variable or comparison.
    • asin()  acos()  atan() : Calculates the inverted sinus, cosinus or tangent.
    • () ^2: Would return the power of 2
    • A % B : Returns the remainder that results from dividing A by B
    • sqrt (): Return the square root
    • log() : Returns the natural logarithm (base-e logarithm) of the argument
    • log10() : Returns the common logarithm (base 10 logarithm) of the argument
    • exp() : Returns the exponential (For example the exponential value of 5 is 148.413159)
    • abs() : Returns the absolute value. So this will always strip off the minus sign of a value (-5 will become 5).
    • sign() :
    • int() : Returns an integer value even when the input is a comma-separated value.
    • frac() :
    • dtr() : Converts the degrees value into radians
    • rtd() : Converts the radian value into degrees
      NOTE - Internally Parabuild always works in radians. Therefore any angle variable calculated by Parabuild will always contain radian values. Care should be taken when variables are used as input or output in the Review macro dialog box.
      All the dimension rules have a Input in degrees checkbox property, which activates the automatic degrees/radians conversion in the Review macro dialog box.
      Also all the variables that are created in the Variables tab have an option to do the degrees/radians conversion automatically.
    • Conditions can be used inside equations
      For example a condition could look like this :
      offset = (useTopSide>0)?0:-thickness
      This equation demonstrates how a switch for the position of a plate can be achieved, for example to switch the plate to switch from left/right side or top/bottom side.
      So if the switch useTopSide is larger than 0, the displacement is 0. If useTopSide is 0, then a displacement of the thickness of the plate is applied.


Type: The type determines the flexibility of the value of the dimension:

    • Adjustable by the user: The value of the dimension is a number and can be modified during the use of the macro (the dimension will be adjustable in the Review macro dialog box!)
    • Fixed value: the value must be a number. This value is not adjustable afterwards during the use of the macro.
    • Flexible value: You must use this if other dimensions can influence the value of the dimension. Or it can be used to just 'measure' a distance. If you enter for example an equation then this option must be used (this is generally already done automatically for you).

 

Directions of rules

The directions refer to the relationships between objects - of which there are 4 options:

    1. Gap between Planes
    2. Planes passing through each other
    3. Planes are aligned - Plane 1 extends beyond Plane 2
    4. Planes are aligned - Plane 2 extends beyond Plane 1

The following examples illustrate the directions:










Here the gap between planes of the plates have been set at 100


Here the plates overlap one another over a given distance




The one plate is put here beyond the other. Which plate is put beyond which plate depends on the order in which the sub geometries were selected during creation of the rule.



Again one plate is put beyond the other but the roles are switched.



This is the coincident rule. In this case we put the two right planes on each other with the “body” of the plates in the same direction.


 

The planes in the middle become placed on each other with their body in opposed direction.


There are other situations possible such as distance between plane and line, cylinder and line,… but the functioning is always similar.