*surfisolinecreate

Creates lines from surface isoparametrics.

Syntax

*surfisolinecreate entity_type mark_id mode uvcode count parameter reverse opt

Type

HyperMesh Tcl Modify

Description

This command creates one or more lines that match isoparametric lines for given set of surfaces.

Inputs

entity_type
Type of input geometry. Valid values are surfs or faces.
mark_id
The mark of input surfaces.
mode
Parameter defining the method used to calculate the positioning of isolines. Valid values are:
0 – Default value. Same as 1.
1, 2 – Uniform distribution of isoline parameters.
1 – Default value set using *surfaceuvlines is used to control the number of created isolines.
2 – count parameter is used to control the number of created isolines.
3 – A single isoline created in the direction defined by uvcode at normalized position defined by parameter.
4 – Isolines are created at surface analytic discontinuity positions.
uvcode
Parameter that specifies the direction of isolines. Valid values are:
0 – Default value. Same as 3.
1 – Isolines in U parametric direction are created.
2 – Isolines in V parametric direction are created.
3 – Isolines in both U and V parametric directions are created.
count
If the mode parameter is 2 then this parameter specifies the number of internal isolines created within the trimmed surface region in the U or V direction. Ignored for other values of mode.
parameter
If mode parameter is 3 then this parameter specifies the parametric value of the isoline used to create the line. Ignored for other values of mode.
reverse
Parameter that specifies direction of resulted vector. Valid values are:
0 – Direction coincides with parametric direction of curve or surface normal.
1 – Direction is opposite to parametric direction of curve of surface normal.
opt
Reserved for future use. Must be set to 0.

Example

To create 7 isolines in both parametric directions on surface 5:

*createmark surfs 1 5
*surfisolinecreate surfs 1 2 0 7 0.0 0

Errors

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