Overview
Model Validation with Rules is a quality assurance feature designed to verify and ensure the integrity of information in 3D models. By creating and applying rulesets, you can automatically check that your models comply with defined requirements.
Selecting the Target Folder
When setting up a ruleset, select the folder where the rules will apply:
Project Root Folder: Rules will apply to all models within the project.
Specific Folder: Rules will apply only to models within the chosen folder and its subfolders.
Creating a Ruleset and Rules
Ruleset: A ruleset is a collection of one or more rules. When you create a ruleset, it generates a new property set in Explorer.
Rule: Each individual rule within the ruleset creates a new property inside the property set.
Output Property Set: Enter the name of the property set in the field labeled Output property set.
Object Filter
The Object Filter defines which objects the rule will target. If this section is left blank, the rule will apply to all objects in the selected folder and its subfolders.
Rules
Rules specify the requirements that must be met.
You can add multiple requirements and choose the logical operators AND or OR:
AND: All requirements must be met for the rule to be true.
OR: At least one requirement must be met for the rule to be true.
Result Actions
In the Result section, define what happens when a rule evaluates as True or False:
Toggle the True and False switches to specify if an action should occur for each condition.
For Action, select Property for model validation. This action creates a new property (named passed or failed by default) to indicate whether the rule has been satisfied.
Properties and Regex
Both the Object Filter and Rules use two components: Property and Regex.
Property: Defines which properties are checked or affected. The syntax is
PropertySet/Property
.Regex: Defines which values within the selected property are included.
Use
.
to match all values.Regex (regular expressions) is a text-matching system. It is recommended to use AI tools to help build Regex patterns if needed.
Viewing Model Validation in Explorer
After creating rules and reprocessing your models:
Open Explorer to view the results.
Model validation will have created new property sets and properties, visible in the Property Tree and Property Widget.
Select the passed or failed property in the Property Tree to see color-coded objects indicating which objects passed or failed the validation.
β
β