*surfacecreatetangentfromedges

Create surfaces extending in the tangent direction from the surfaces along selected edges.

Syntax

*surfacecreatetangentfromedges mark_id distance extend_mode component

Type

HyperMesh Tcl Modify Command

Description

Create surfaces extending in the tangent direction from the surfaces along selected edges. The new surfaces are created by dragging these surface edges along the tangent direction of the surfaces to which the master edges belong. The newly created surfaces and the original surfaces are tangent to each other along the input edges.

Inputs

mark_id
The ID of the mark containing the surface edges to use. Valid values are 1 and 2.
distance
The distance to extend the selected lines along the tangent direction.
extend_mode
0 - At the end of a chain of edges, the extension is done in the normal direction from the end edge
1 - The direction of the neighbor surface edge is followed to create the edge of the extension surface
Consider extending a triangular surface at one of its edges. When 0, the extension surface looks like a rectangle. But when 1, a trapezoidal extension surface is created, so that together with the original surface they form a bigger triangle.
component
0 - New elements go to current component
1 - New elements go to input line(s) component(s)

Example

Create surfaces extending tangently from edges 75 and 68 by a distance of 12, with the new surfaces created in the same component as the input edges:

*createmark lines 1 75 68
*surfacecreatetangentfromedges 1 12.0 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

2019.1