*findflangesproximityshell
Finds flanges in shell meshes that are within a specified proximity.
Syntax
*findflangesproximityshell mark_id non_flanges max_proximity max_align auto_pitch_comp auto_pitch_spacing auto_pitch_offset auto_pitch_edge_distance output create_points_in_middle reserved
Type
HyperMesh Tcl Modify
Description
Finds flanges in shell meshes that are within a specified proximity. Flanges are found on elements or components specified by a previous call to *findflangestoposhell, but can also be found within the specified proximity of non-flange areas. Note that at least one side must have been identified as a flange. The output is either a mark, elements, or the creation of duplicate elements denoting where flanges where identified. This can also be used to create auto-pitch points.
The process of finding flanges requires the initialization of the process using *findflangesinit. This initialization process requires the components or elements utilized by subsequent * findflangestoposhell and *findflangesproximityshell commands. To utilize different input components or elements, the *findflangesinit command needs to be rerun. After completing the find flanges process, the command *findflangesend should be called to clear the memory.
Inputs
- mark_id
- The mark ID containing the output flange elements. Valid values are 1 and 2.
- non-flanges
- Defines if proximity should be extended to elements not identified as flanges. Valid values are:
- max_proximity
- The distance that defines the maximum proximity to use.
- max_align
- The maximum angle between normals of facing elements.
- auto_pitch_comp
- Defines the component for auto pitch points. Valid values are:
- auto_pitch_spacing
- Defines the spacing for auto-pitch points. Points are not created if set to 0.0.
- auto_pitch_offset
- Defines the initial offset for auto-pitch points. If set to 0.0, auto_pitch_spacing/2 is used.
- auto_pitch_edge_distance
- Defines the distance from the free edge for auto-pitch points.
- output
- The output type. Valid values are:
- create_points_in_middle
- 0 - Auto-pitch points are created on one of the flanges (default).
- reserved
- Reserved for future use. Must be set to 0.
Example
*createmark comps 2 displayed
*findflangesinit components 2 2 30 0 0 0
*findflangestoposhell 0 1 4.0 0.0 0.0 0.0 0.0 0 0 0 0.5 0.5 0.0 45.0 0 0 0 0.0
*findflangesproximityshell 0 1 0.5 45.0 -1 1.5 2.0 0.1 0 0 0.0
*findflangesend
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0.101