hm_detectselfsymmetry

Finds and returns a point on the plane of symmetry and the normal of the plane.

Syntax

hm_detectselfsymmetry entity_type mark_id

Type

HyperMesh Tcl Query Command

Description

Finds and returns a point on the plane of symmetry and the normal of the plane. The format of the returned string is “center <center_x> <center_y> <center_z> normal <normal_x> <normal_y> <normal_z>”.

Inputs

entity_type
The type of entity to find the self-symmetry for. Valid values are elements and surfaces.
mark_id
The ID of the mark containing the input entities. Valid values are 1 and 2.

Examples

To find the plane of symmetry of a given geometry:

*createmark surfs 1 all 
hm_detectselfsymmetry surfs 1

To find the plane of symmetry of a given mesh:

*createmark elems 1 all
hm_detectselfsymmetry elems 1

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

2022.2