Coreform Cubit 2025.3 User Documentation
Regression Models
Predicting CAD Operation Outcomes
Assigning new CAD Operation Training Data
Training CAD Operations
Listing Regression Models
Resetting Regression Models
User Training Data
predict copy_surface {volume <ids> surface <ids>} [features [importance]]
predict midsurface {volume <ids> surface <ids>} [features [importance]]
learn copy_surface {volume <ids> surface <ids>} label <value> [export_acis]
learn midsurface {volume <ids> surface <ids>} label <ids> [export_acis]
Mesh quality models are mostly used for driving defeaturing of CAD models. They are currently used in Coreform Cubit's Geometry Power Tool diagnostics to predict where potential mesh quality issues will appear on the FE mesh before meshing and to provide a recommendation for CAD operations that can be used to resolve the issue based on a predicted mesh quality outcome.
Learn copy_surface volume <id> surface <ids>
Learn midsurface volume <id> surface <ids>
For these commands, the copy_surface and midsurface ML regression models will be used to predict a suitability score. These reflect the suitability of using the respective reduce volume thin commands in the current context. The volume ids and surface ids used in the Learn commands should be the same as those used in the equivalent reduce thin commands.Learn copy_surface volume <id> surface <ids> label <value>
Learn midsurface volume <id> surface <ids> label <value>
Learn Train ["<string>"]
The <string> value should be either one of copy_surface or midsurface. Mesh Quality models are currently not supported. If the <string> is absent, then all available regression models will be trained.Learn List ["<string>"]
If the <string> is absent, then all available regression models will be listed.Learn Reset ["<string>"]
If the <string> is absent, then all available regression models will be reset.Learn User Path ["<path_string>"]
When a new training datum is written, it will write to a default application directory that is specific to a platform. For example, for Mac and Linux OS the directory will be located at:/Users/<user_name>/Library/Application Support/Coreform Cubit/ml
To display both the current user training data directory and the fixed training data directory, use the Learn List command. While the fixed training data directory cannot be changed, it may be worthwhile to change the user training directory. To change the user training directory, use the command Learn user path "<path_string>" where <path_string>> is the full path to a writable directory on disk in quotes. Changing the user training directory may be useful to temporarily use training data from another source or to ignore all user training data without removing it.
Using the command, Learn User Path without a path specification will set the user training data directory back to its default for the platform. Changing the user path using the Learn command will also change the path for the Classify command.