*remesh_master_slave_boolean
Performs intersection and Boolean operations of 2D elements.
Syntax
*remesh_master_slave_boolean selected_entity_type selected_mark_id master_entity_type master_mark_id strings
Type
HyperMesh Tcl Modify
Description
Performs intersection and Boolean operations of 2D elements. Elements are distributed into groups based on their connectivity and component membership. The elements belonging to different components can be in a single group by parameter input. Only different groups are taken as counterparts for the intersection and Boolean operations. Moreover, elements sharing a node are not counterparts of intersection calculations for element/element intersection.
Inputs
- selected_entity_type
- The type of selected entities. Valid values are elems and comps.
- selected_mark_id
- The ID of the mark that contains the selected entities. Valid values are 1 and 2.
- master_entity_type
- The type of master entities. Valid values are elems and comps.
- master_mark_id
- The ID of the mark that contains the master entities. Valid values are 1 and 2.
- strings
- Character string containing name/value pairs. Names and values are space separated.
- angle <value>
- This is used to define feature edges on the mesh utilized for remeshing. If not defined, its default is 30.0.
- break_shell_along_component_boundaries <value>
- 0 - All elements connected to each other are classified as a group.
- do_boolean_difference <value>
- If set to 1, perform a Boolean difference to subtract slave entities from the master. Default is 0.
- generate_intersect_segments_only <value>
- If set to 1, the command only calculates and creates the intersection segments, but does not perform the intersection and remeshing. Default is 0.
- keep_intersected_edges <value>
- If set to 1, create 1D elements at mesh intersection locations. Default is 0.
- num_remesh_layers <value>
- The number of layers attached to intersecting elements to consider for remeshing.
Example
To create intersections between the displayed comps and comps brown and blue:
*createmark components 1 "displayed"
*createmark components 2 "brown" "blue"
*remesh_master_slave_boolean components 1 components 2 "do_boolean_difference 1 keep_intersect_edges 0 break_shell_along_component_boundaries 0 num_remesh_layers -1 angle 30.000000 "
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
13.0