*CE_ConnectorCreateByAutopitch

Create connectors using autopitch points, obtained by flange detection techniques.

Syntax

*CE_ConnectorCreateByAutopitch entity_type mark_id feature_angle consider_thin_solids max_flange_width max_proximity_distance autopitch_interval autopitch_offset autopitch_to_edge_distance create_points_in_middle max_variation_percent

Type

HyperMesh Tcl Modify

Description

Create connectors using autopitch points, obtained by flange detection techniques.

Inputs

entity_type
The entity types to find flanges in, to create connectors. Valid values are components.
mark_id
The mark ID containing the entities. Valid values are 1 and 2.
feature_angle
Used to identify each connected sequence of feature edges. Specifically, a feature edge is one whose adjoining faces form an angle greater than this value. Acceptable values are [0.0, 180], otherwise closer extreme is used.
consider_thin_solids
0 - Closed shell thin solids are not considered as input. Only standard shell midmeshes are considered.
1 - Closed shell thin solids are considered as input, along with standard shell midmeshes.
max_flange_width
The maximum flange width. Used only if it is greater than 0.0.
max_proximity_distance
The maximum proximity distance that can be used. Also, used as the tolerance value for connector creation.
autopitch_interval
Spacing between autopitch points. Points are not created if set to 0.0.
autopitch_offset
The initial offset for autopitch point. If set to 0.0, autopitch_interval/2 is used.
autopitch_to_edge_distance
The distance from the free edge for autopitch points.
create_points_in_middle
0 - Autopitch points are created on one of the flanges
1 - Autopitch points are created at the midplane of flanges
max_variation_percent
The maximum percentage variation allowed in inter-flange distances, from the average inter-flange distance.

Examples

To create connectors at the midplane of the components 1 and 2 using a feature angle of 30 degrees, not considering closed shell thin solids as input, maximum flange width of 20.0, maximum proximity distance of 20.0, autopitch interval of 50.0, offset of 10.0, and a distance from free edge of 10.0:

*createmark comps 2 1 2
*CE_ConnectorCreateByAutopitch components 2 30 0 20.0 20.0 50.0 10.0 10.0 1 0

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

2019