*geom_extrude

Create surfaces by extruding nodes or locations along guide lines or along a vector.

Syntax

*geom_extrude method=<value> <option1>=<value1> <option2>=<value2> ... <optionN>=<valueN>

Type

HyperMesh Tcl Modify Command

Description

Create surfaces by extruding nodes or locations along guide lines or along a vector.

Inputs

method=<value>
The extrusion method. Valid values are:
along_line – Extrude nodes or locations along lines.
along_vector – Extrude nodes or locations along a vector.
node_list=<value>
The ID of the list containing the source nodes to extrude.
locations=<value>
The string of x, y, z coordinates defining the source locations to extrude.
guide_list=<value>
The ID of the list containing the guide lines. Valid for method=along_line.
reverse_dir=<value>
The flag to use the reverse direction (0 – No, 1 – Yes). Valid for method=along_line.
frame=<value>
The extrusion frame. Valid values are fixed, tangent, and frenet. Valid for method=along_line.
vector=<value>
The vector x, y, z components defining the extrusion direction. Valid for method=along_vector.
distance=<value>
The extrusion distance. Valid for method=along_vector.

Example

To extrude locations (-28.0 -61.0 -6.0), (23.0 -43.0 0.0), (73.0 -43.0 0.0) along vector (0.0 0.0 1.0) by distance 57.0:

*geom_extrude method=along_vector "locations=-28.0 -61.0 -6.0 23.0 -43.0 0.0 73.0 -43.0 0.0" "vector=0.0 0.0 1.0 " distance=57

To extrude nodes ID 5, 6, 7, 8 along lines 10, 11, 12 without reversing the direction in tangent frame:

*createlist nodes 1 5 6 7 8
*createlist lines 1 10 11 12
*geom_extrude method=along_line node_list=1 guide_list=1 reverse_dir=0 frame=tangent

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