*imprint_pointchain

Imprints chains of points to the mesh.

Syntax

*imprint_pointchain option1=<value1> option2=<value2> … option=<valueN>

Type

HyperMesh Tcl Modify Command

Description

Imprints chains of points to the mesh.

Inputs

baseMark=<mark_id>
The ID of the mark containing the input entities. Valid values are 1 and 2.
baseType=<value>
The type of the entities on which the points will be imprinted on. Valid values are elements and components.
isHard={<value>}
The list of values indicating if a point will be retained in the final mesh (1) or not (0). The number of values in the list should match the number of points across all the chains.
numChains=<value>
The number of chains to imprint.
numPoints=<value>
The list of number of points in each chain. The number of values in the list should be equal to numChains.
points=<value>
The x, y, z coordinates of each of the point in each of the chain
saveToUserList=<value>
If set to 1, the element IDs representing the imprinted lines are placed on the user mark.

Examples

To imprint two chains of points with the first chain having 5 points and the second chain having 3 points respectively. The total number of points are 5 + 3 = 8, and each point has x, y, and z coordinates so you need to supply 3 times 8 = 24 real values following the points argument. Certain points needed to be marked as hard, hence the isHard argument is supplied with 8 entries of 1 or 0 values.
*createmark elements 1 displayed
*imprint_pointchain baseType=elems baseMark=1 numChains=2 numPoints= "5 3" points="8.16239357 16.63461494 0.44266832 8.16239357 10.38461494 0.44266832 8.16239357 4.13461494 0.44266832 1.91239357 4.13461494 0.44266832 -4.33760643 4.13461494 0.44266832 20.66239357 4.13461494 0.44266832 14.41239357 4.13461494 0.44266832 8.16239357 4.13461494 0.44266832" isHard="1 0 1 0 1 1 0 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

2022.2