*linecreatefromnodesandprojecttobinder

Create a specific type of line from a list of nodes and project it along a direction onto a surface.

Syntax

*linecreatefromnodesandprojecttobinder nodes type break angle aspect linear angle proj_dir binder_surf

Type

HyperMesh Tcl Modify

Description

Create a specific type of line from a list of nodes and project it along a direction onto a surface.

Inputs

list id
The ID of the list containing the nodes.
type
The type of line being generated.
  • 1 linear
  • 2 standard
  • 3 smooth
  • 4 user-controlled
break angle
Specifies the minimum angle allowed between three points in a line. If the angle between a point and the two adjacent points is less than the angle specified, HyperMeshconsiders this point to be a point of discontinuity in the line and places a joint (starts a new NURBS) at this location.
aspect
Specifies the maximum ratio allowed for the distance between a point and the previous point in the line and the distance between the same point and the next point in the line. If the ratio of the distance between the two adjacent segments exceeds the aspect ratio defined, HyperMesh places a joint between the segments.
linear angle
Defines the angle at which HyperMesh should consider a line straight. For example, if the line angle between three consecutive points along the line is greater than the linear angle specified, HyperMesh removes the center point from the line.
pro_dir
The vector of direction along which the line is projected after it is created from the node list.
binder_surf
The surface onto which the line is projected.

Example

*createlist(nodes, 1) 1 2 3 4
*createvector(1, 0.0, 0.0, 1.0)
*linecreatefromnodesandprojecttobinder(0, 1, 179.0, 5, 179.0, 1, 24)

*linecreatefromnodesandprojecttobinder() has two more parameters than *linecreatefromnodes().

Errors

None.