*surfacestringcreatemidline

Creates midlines for strings of narrow surfaces (fillets, rib tops, etc...).

Syntax

*surfacestringcreatemidline mark_id ?<option1>=<value1>? ?<option2>=<value2>? ... ?<optionN>=<valueN>?

Type

HyperMesh Tcl Modify Command

Description

Creates midlines for strings of narrow surfaces (fillets, rib tops, etc...). The command takes as input a mark of surfaces that can be interpreted as narrow strings sets : one or several disconnected strings. Optionally configuration of string could be additionally supported with given mark of the strings long sides lines. The result of the command – topological midlines created for each of the surfaces strings. The result surfaces are placed on the imput mark. Optionally the created midlines could be marked by a given output mark. The optional parameters of the command are in “key-value” format. The options order and number is arbitrary

Inputs

mark_id
The ID of the mark of narrow surfaces. Valid values are 1 and 2.
alonglines_mark=<value>
The ID of a mark containing the along side lines. Valid values are 1 and 2. If empty (default), the lines are auto-calculated.
midlines_outmrk=<value>
The ID of the mark of output midlines. Valid values are 1 and 2. If empty (default), the output midlines are not placed on a mark.

Examples

Create midlines for surfaces 7054-7077, with the long side lines auto-identified, and do not place the created midlines on a mark:
*createmark surfaces 1 7054-7077
*surfacestringscreatemidline 1
Create midlines for surfaces 7054-7077, with the long side lines auto-identified, and place the created midlines on mark 2:
*createmark surfaces 1 7054-7077
*surfacestringscreatemidline 1 midlines_outmrk=2

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

2021