*imprint_geom
Imprints, connects source points, nodes, lines and surfaces onto target FE surfaces.
Syntax
*imprint_geom entity_type_target mark_id_target entity_type_source mark_id_source ?options?
Type
HyperMesh Tcl Modify Command
Description
Imprints, connects source points, nodes, lines and surfaces onto target FE surfaces. This command does not support surfaces that are not FE. Points and lines could be any type. In the case that input is an FE entity, the command optionally remeshes the input entities.
Inputs
- entity_type_target
- The type of entity to use as the target (destination) for the imprint. Valid values are surfaces.
- mark_id_target
- The ID of the mark containing the target (destination) entities to imprint. Valid values are 1 and 2.
- entity_type_source
- The type of entity to use as the source for the imprint. Valid values are points, nodes, lines, surfaces.
- mark_id_source
- The ID of the mark containing the source entities to imprint. Valid values are 1 and 2.
- options
- List of input options, passed as a space separated string enclosed in quotes. Valid
options are:
- angle <value>
- The angle used to define feature edges on the mesh. If not defined, 25.0 is used.
- max_distance <value>
- The command will exit with an error if the distance between source and destination exceeds this value. If not specified, this is ignored.
- mesh_size <value>
- Automatically detected from input mesh if not provided.
- mesh_type <value>
- Automatically detected from input mesh if not provided.
- projection <value>
- 0 - Normal to destination (default if not provided).
- projection_vector <x y z>
- 3 doubles defining the vector direction. Should be defined if projection is set to 2.
- remain <value>
- 1 - Source remains, source node coordinates are kept (default if not provided).
- remesh_mode <value>
- -1 - No remesh. Element connectivity is maintained by recovery of the imprinting element edges.
- remesh_layers <value>
- Must be defined if remesh_mode is 2.
- to_dest_component <value>
- -1 - Create elements in source component.
- do_not_remesh_rebuild_extn <value>
- 0 - Remesh / rebuild extension (default is not provided).
- do_not_add_fixed_points_edges <value>
- 0 - Add fixed points / edges on nodes imprint (default if not provided).
- anchor_nodes_mark <value>
- The ID of the mark containing the anchor nodes used for imprint. If not provided no anchor nodes are used for imprint.
Examples
To imprint surfaces 20 and 21 onto surface 45, using a normal projection, a feature angle of 30, keeping the source, and remeshing the destination using 2 layers:
*createmark surfs 2 20 21
*createmark surfs 1 45
*imprint_geom surfs 2 surfs 1 "remain 1 remesh_mode 2 remesh_layers 2 angle 30.0"
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2019
2023 - Added new options projection, to_dest_component, do_not_remesh_rebuild_extn, do_not_add_fixed_points_edges, and anchor_nodes_mark. Added new remain value 4.