*fuse_shell_mesh
Attempts to mesh two disconnected element/component sets within a certain proximity with each other.
Syntax
*fuse_shell_mesh source_entity_type source_mark_id target_entity_type target_mark_id proximity ?options?
Type
HyperMesh Tcl Modify Command
Description
Attempts to mesh two disconnected element/component sets within a certain proximity with each other.
Inputs
- source_entity_type
- The type of entity to use as source. Valid values are comps and elems.
- source_mark_id
- The ID of the mark of source entities. Valid values are 1 and 2.
- target_entity_type
- The type of entity to use as target. Valid values are comps and elems.
- target_mark_id
- The ID of the mark of target entities. Valid values are 1 and 2.
- proximity
- The value within which the source and target elements should be fused. Value must not be negative.
- options
- List of input options, passed as a space separated string enclosed in quotes. Valid
options are:
- BridgeGaps=<value>
- 0 - Stitches the source and target by imprinting source on target (default)
- BridgeGapTol=<value>
- The value beyond which the source nodes found under proximity with target will be bridged. Only valid when BridgeGaps is enabled. Default value is the global node tolerance.
- ClusterRemovalMaxWidth=<value>
- During mesh fusing, some isolated clusters on source can remain. This defines the mesh maximum width within which if clusters of elements formed after fusing, they are removed. Value must not be negative. Default value is 0.0.
- DoRemesh=<value>
- 0 - Do not remesh fused elements (default)
- FeatureAngle=<value>
- The value to define features in the range of 0 to 180. Default/common value is 30.0.
- FuseFreeEdgesOnly=<value>
- 0 - Fuse all elems within proximity (default)
- NodeFeatureSnapTol=<value>
- The value within which the nodes positions resulting after the fusing of source and target elements can be snapped to features. Value must not be negative. Default value is 0.0.
- ProjectionType=<value>
- 1 - Projection and further stitching happens along shortest projection direction of source nodes to the target (default)
- RemoveTargetTails=<value>
- 0 - Do not remove target tails (default)
- RemoveTargetTailTolerance=<value>
- If the width of the tail of the target tail face lies within this value, it is removed. Valid only when RemoveTargetTails is enabled. Default value is 0.0.
- RemoveSharedTargetFace=<value>
- 0 - Do not delete faces shared by source and target at all edges formed at the target after fusing (default)
Examples
To fuse components 100 and 200 within a proximity of 40, with various fuse
options:
*createmark components 1 100
*createmark components 2 200
*fuse_shell_mesh components 1 components 2 40 "ClusterRemovalMaxWidth=30.0 DoRemesh=1 FuseFreeEdgesOnly=1 BridgeGaps=1 BridgeGapTol=0.0 ProjectionType=3 RemoveTargetTails=1"
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
2019