*voxel_lattice_hex_mesh_drag_faces

Drags faces of existing voxels to create new voxels.

Syntax

*voxel_lattice_hex_mesh_drag_faces voxel_mark_id face_node_mark_id dx dy dz

Type

HyperMesh Tcl Modify Command

Description

Drags faces of existing voxels to create new voxels.

This must be preceeded by a call to *voxel_lattice_hex_mesh_init and either a call to *voxel_lattice_hex_mesh_import or *voxel_lattice_hex_mesh_create. It must be followed by a call to *voxel_lattice_hex_mesh_create to create the voxels.

Inputs

voxel_mark_id
The ID of the mark containing the voxel elements to drag.
face_node_mark_id
The ID of the mark containing the nodes of the voxel elements defining the face to drag.
dx
The value to drag in the x direction.
dy
The value to drag in the y direction.
dz
The value to drag in the z direction.

Example

To register voxels in comps 100 and 101 and drag elements 500-600 using the face with nodes 100-110 by (50,0,0):

*voxel_lattice_hex_mesh_init 10
*createmark comps 1 100 101
*voxel_lattice_hex_mesh_import comps 1
*createmark elems 1 500-600
*createmark nodes 1 100-110
*voxel_lattice_hex_mesh_drag_faces 1 1 50 0 0
*voxel_lattice_mesh_mesh_create
*voxel_lattice_hex_mesh_end

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