*repair_midmesh_line_imprinter

Imprint geometric lines to the mesh in the average normal direction of all the connected surface of the selected line at each discretized point.

Syntax

*repair_midmesh_line_imprinter line_list_id ?options?

Type

HyperMesh Tcl Modify

Description

This command can be used to imprint geometric lines to the mesh in the average normal direction of all the connected surface of the selected line at each discretized point.

Inputs

line_list_id
The ID of the line list, created with *createlist to use as input. Valid values are 1 and 2.
options
List of input options, passed as a space separated string enclosed in quotes. Valid options are:
ProjectOnElemsMark=<mark_id>
The ID of the mark of elements to consider for imprinting. Valid values are 1 and 2.
LineEndSnapTolerance=<value>
The tolerance to snap the end of the line to nearby vertex/face boundary edges. Vertex is preferred over the face boundary edges. Vertex nodes are identified based on the turning angle (45 degree) and the number of 1D elements connected (>2). Default is minimum element size.

Examples

To imprint line 4905 onto elements 3000-4000, using a snap tolerance of 1:

*createlist lines 1 4905
*createmark elements 1 3000-4000
*repair_midmesh_line_imprinter 1 "ProjectOnElemsMark=1 LineEndSnapTolerance=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