*CE_ConnectorCreateByAutopitchNew

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

Syntax

*CE_ConnectorCreateByAutopitchNew entity_type mark_id "<option1>=<value1> <option2>=<value2> ... <optionN>=<valueN>"

Type

HyperMesh Tcl Modify Command

Description

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

The name=value options may be specified in any order, and the entire string must be enclosed in quotes.

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.

All option=value arguments may be specified in any order.

autopitch_feature_edge_distance=<value>
The distance from the feature edges for autopitch points.
autopitch_interval=<value>
Spacing between autopitch points. Points are not created if set to 0.0.
autopitch_offset=<value>
The initial offset for autopitch point. If set to 0.0, autopitch_interval/2 is used.
autopitch_to_edge_distance=<value>
The distance from the free edge for autopitch points.
consider_thin_solids=<value>
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.
create_points_in_middle=<value>
0 - Autopitch points are created on one of the flanges
1 - Autopitch points are created at the midplane of flanges
feature_angle=<value>
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.
max_flange_width=<value>
The maximum flange width. Used only if it is greater than 0.0.
max_proximity_distance=<value>
The maximum proximity distance that can be used. Also, used as the tolerance value for connector creation.
max_variation_percent=<value>
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, a distance from free edge of 10.0, with 0 maximum percentage variation allowed in inter-flange distances and a distance from the feature edges of 5.0:

*createmark comps 2 1 2
*CE_ConnectorCreateByAutopitchNew components 2 "feature_angle=30 consider_thin_solids=0 max_flange_width=20.0 max_proximity_distance=20.0 autopitch_interval=50.0 autopitch_offset=10.0 autopitch_to_edge_distance=10.0 create_points_in_middle=1 max_variation_percent=0 auto_pitch_feature_edge_distance=5.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

2020