*morphmaptshpedge

Adds and edge domain perturbation to the current temporary shape.

Syntax

*morphmaptshpedge dtype dmark etype emark stype smark lline plane line points niproj iproj clear sym con type

Type

HyperMesh Tcl Modify

Description

Adds and edge domain perturbation to the current temporary shape.

Inputs

dtype
Domains
dmark
Domain mark number
etype
Elems
emark
Element mark number
stype
Surfs
smark
Surface mark number
lline
Not currently used
plane
Mark number of plane
line
ID of line
points
Mark number of points for a line
niproj
Direction of projection:
0 - Along vector (iproj)
1 - Normal to geom
2 - Fit to line (if to a line or node list) normal to elems (if to a plane, surface, or mesh).
clear
Determine if/how to delete perturbations:
0 - Add perturbation
1 - Clear temporary and add perturbation
2 - Reject last *morphmaptshpedge() operation
sym
0 - Do not use symmetry (only option)
con
1 - Use constraints (only option)
type
The type of target to be mapped to.
0 - Node list
1 - Line
2 - Plane
3 - Surface
4 - Elements

Example

*morphmaptshpedge (DOMAINS,1,ELEMS,1,SURFS,1,NULL,1,32,1,0,1,0,0,1,1)

This command is part of the map to geometry function which consists of multiple commands. This command is called any number of times, first with clear set to 1, then subsequently set to 0, followed either by one of the many *morphmapto…() commands. If clear is set to 2 then the last *morphmaptshpedge() command is rejected.

Type denotes the type of target to be mapped to. Either the plane, line, points, surface mark, or element mark must be filled with a valid entry corresponding to the type selected.

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}