*surfacecreatenormalfromedges
Creates surfaces in the normal direction from the edges of adjacent surfaces.
Syntax
*surfacecreatenormalfromedges mark_id distance reserved comp_mode
Type
HyperMesh Tcl Modify Command
Description
Creates surfaces in the normal direction from the edges of adjacent surfaces. The new surfaces are created by dragging these surface edges along the normal direction of the surfaces to which the master edges belong. In the event the neighbor surfaces are tangent enough to each other, the average normal is used as the drag direction. When two or more input edges meet at a vertex, result surfaces are separated by a new edge created along that vertex.
Inputs
- mark_id
- The ID of the mark containing the input surface edges. Valid values are 1 and 2.
- distance
- The distance to drag along the calculated direction. Both positive and negative values are accepted. If the distance is negative, the direction opposite to the normal direction is used.
- reserved
- Reserved for future use. Must be set to 0.
- comp_mode
-
- 0 - New surfaces are created in the current component.
- 1 - New surfaces are created in the same component as the input edges.
Example
To create surfaces extending normally from edges 75 and 68 by a distance of 12 units. The new surfaces will be created in the same component as the input edges:
*createmark lines 1 75 68
*surfacecreatenormalfromedges 1 12.0 0 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0.120