PRIMER 22.1

Rules Check

Rules Check

The CHECK > RULES function applies a set of custom checks which can be controlled through the oa_pref file or by the OPTIONS panel.

The standard model check and element quality checks are as described above. The model checking is always run without contact checks in this mode.

Contact check - if these are active, for example by the oa_pref settings

  • primer*contact_penetration_rule : ON
  • primer*contact_penetration_max_allowable_value : 0.2

Rules check will run the contact checker directly and report penetration (above thresh-hold) and crossed edge count. In this case Details button will access PRIMER's penetration checker via an intermediate panel.

Rigid-body separation check - measures the distance between the centroids of merged rigid bodies and reports those that exceed the given value.

This check is now done as part of model checking if the option is active. For historic reasons, it is available as separate feature in rules check. Details will start a bespoke visualization panel. The oa_pref settings are:

  • primer*rigid_body_merge_check: ON
  • primer*rigid_body_merge_max_separation: 200.0

Missing item check is always done. If, for example, an element references a part, but the part card is absent from the model, the missing item check will detect it.

For model check, the Details button will list take the user to the standard checking panel.

Whenever a custom check is made a summary is dumped to the text file apply_rules.txt written in cwd.