*trim_elements2
Trims 2D elements using 1D or 2D elements.
Syntax
*trim_elements2 base_element_mark trim_element_mark mode num_layers feature_angle base_component
Type
HyperMesh Tcl Modify Command
Description
Trims 2D elements using 1D or 2D elements.
Inputs
- base_element_mark
- The mark of 2D base elements. Valid values are 1 and 2.
- trim_element_mark
- The mark of 1D or 2D trimming elements. Valid values are 1 and 2.
- mode
- Flag to indicate how to connect elements when the trimming elements are 2D elements and the boundaries of the selection consist of multiple loops.
- num_layers
- Flag to indicate the number of surrounding element layers will be taken into account for remeshing.
- feature_angle
- Parameter used to define feature edge in remeshing.
- base_component
- Flag to indicate if the imprinted elements should be organized to the same component as the base elements.
Example
To trim elements 1-100 with elements 500-550, removing elements from within internal loops, with remeshing, a feature angle of 30 and keeping the original organization:
*createmark elems 1 1-100
*createmark elems 2 500-550
*trim_elements2 1 2 1 1 30 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}