*surface_patch
Creates surfaces using selected lines.
Syntax
*surface_patch line_mark=<mark_id> ?tangency=<value>? ?stitch=<value>? ?solid_stitch=<value>? ?dest_component=<value>?
Type
HyperMesh Tcl Modify Command
Description
Creates surfaces using selected lines. The input lines are grouped into sets of connected lines. One surface is created for each set. For the remaining lines that do not form a closed loop, the command tries to create a single surface. If some of the input lines are surface edges, tangency option can be used to control the tangency of the new surface to its neighboring surfaces.
Inputs
- line_mark=<mark_id>
- The ID of the mark containing the input lines. Valid values are 1 and 2.
- tangency=<value>
- Controls tangency to the neighboring surfaces if the input lines contain surface edges:
- stitch=<value>
- Controls whether new surfaces are stitched to their neighboring surfaces:
- solid_stitch=<value>
- Controls whether new surfaces can be stitched to a solid surface. This option is valid only for stitch set to 1.
- dest_component=<value>
- Specifies the destination component of the new surfaces:
Examples
To create surfaces from bounding lines ID 3, 4, 5, 6, 8, 9, 10, tangent to the neighbor surfaces and stitches to other surfaces, but if the neighbor surface belongs to a solid, do not stitch:
*createmark lines 1 3 4 5 6 8 9 10
*surface_patch line_mark=1 tangency=tangent stitch=1 solid_stitch=0 dest_component=current
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2022