*midsurfaceextract

Extracts midsurfaces using a surface pair.

Syntax

*midsurfaceextract entity_type mark_id mode thickness_bound min_thickness max_thickness reserved_1 reserved_2 reserved_3 new_or_curr_comp

Type

HyperMesh Tcl Modify Command

Description

This command extracts a midsurface from a pair of two surfaces.

Previously, this command was also used to extract a midsurface from a solid or from multiple surfaces. The command will still work in that manner for backwards compatibility but the command *midsurface_extract_10 is now recommended for those situations. The options listed below are the currently recommended options. See the documentation in 8.0 for the list of previous options.

Inputs

entity_type
The type of surface selected for midsurface extraction. Surfaces and splines are supported.
mark_id
The mark of surfaces selected for midsurface extraction. The number of selected surfaces should be 2. The number of surfaces is counted from the total number of physical surfaces selected. If two surfaces are combined into one by suppressing the edge between them, they count as two surfaces rather than one.
mode
1 - Surface pair without "combine with adjacent plates" and "combine all adjacent plates" options.
2 - Surface pair with "combine with adjacent plates" and without "combine all adjacent plates" options.
3 - Surface pair with "combine with adjacent plates" and "combine all adjacent plates" options.
thickness_bound
Not required for surface pair extraction. Value = 0.
min_thickness
Not required for surface pair extraction. Value = 0.
max_thickness
Not required for surface pair extraction. Value = 0.
reserved_1
Reserved for future development. Value = undefined.
reserved_2
Reserved for future development. Value = 0.
reserved_3
Reserved for future development. Value = 0.
new_or_curr_comp
0 - Midsurface will be created in the current component.
1 - Midsurface will be created in a new component named middle surface.

Example

To extract the midsurface between surfaces 10 and 15 using the "combine with adjacent plates" and "combine all adjacent plates" options and organize them into the "middle surface" component:

*createmark surfs 1 10 15
*midsurfaceextract surfs 1 3 0 0 0 0 0 0 1

Errors

None.