hm_collisiongetconfig
Returns flags to be used for configuration of the collision detection.
Syntax
hm_collisiongetconfig keyword1 ?keyword2? ... ?keywordN?
Type
HyperMesh Tcl Query
Description
Converts keywords into a numerical value for the configuration of the collision detection module. The returned value is used for the config argument to hm_collisioninit.
One or more keywords can be provided. Valid keywords are:
Inputs
- intersect_planar
- If listed, consider coplanar facets which are partially/fully overlapping, within a given tolerance defined by hm_collisoininit, as intersected.
- penetrat_min_overlap
- If listed, consider only penetrations between two facets if they have an overlap greater than a given tolerance defined by hm_collisioninit.
Example
To configure the collision detection for planar intersections:
set config [hm_collisiongetconfig intersect_planar]
hm_collisioninit $config
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0