*linearsurfacebetweennodes

Creates a ruled surface between two node lists.

Syntax

*linearsurfacebetweennodes list1 list2 reverse ?closed? ?setmeshparam?

Type

HyperMesh Tcl Modify Command

Description

Creates a ruled surface between two node lists. Optionally, it can be used within the auto-mesher. It can also identify a region in the shape of a ruled surface for the auto-mesher to use under the mesh without surface option.

Inputs

list1
The ID of the first list of nodes forming one side of the surface.
list2
The ID of the second list of nodes forming one side of the surface.
reverse
Indicates whether the nodes should be tested for a "bow tie" condition and reversed if necessary (1 for yes, 0 for no).
closed
Flag defining if the node selection should be treated as a closed loop (1 for yes, 0 for no).
setmeshparam
Flag defining if the mesh parameter is set for the orphan nodes selection (1 for yes, 0 for no).

Example

Identifies a region in the shape of a closed-loop ruled surface and sends it into the auto-mesher to create quad elements:

*surfacemode 3
*createlist nodes 1 1581 77 83 88 95
*createlist nodes 2 225 228 232 235 262
*linearsurfacebetweennodes 1 2 1 1
*set_meshedgeparams 0 8 1 0 0 0 0 0 0
*set_meshedgeparams 1 4 1 0 0 0 0 0 0
*set_meshedgeparams 2 8 1 0 0 0 0 0 0
*set_meshedgeparams 3 4 1 0 0 0 0 0 0
*linearmesh 1
*storemeshtodatabase 0
*ameshclearsurface

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

2026 - Added new optional arguments closed and setmeshparam.