*midsurface_imprint
Imprints selected lines or edges of selected surfaces onto midsurfaces.
Syntax
*midsurface_imprint entity_type imprint_mark_id target_mark_id line_extend_option surface_imprint_option min_gap_size reserved1 reserved2 reserved3 reserved4
Type
HyperMesh Tcl Modify
Description
The command modifies surfaces by adding extra trim lines obtained from the lines or surfaces specified by the user. The new trim lines are obtained by trimming the corresponding surfaces in the direction normal to that surface using the selected lines or edges of the selected surfaces. The command tries to detect the corresponding mid-surface automatically, or uses the surfaces explicitly specified by the user.
Inputs
- entity_type
- The type of entity selected for imprinting. Valid values are surfaces and lines.
- imprint_mark_id
- The ID of the mark containing the input lines or surfaces. Valid values are 1 and 2.
- target_mark_id
- The ID of the mark containing the surfaces to imprint onto. Valid values are 1 and 2. If there are no surfaces on the mark, the algorithm attempts to automatically find all relevant middle surfaces to imprint onto.
- line_extend_option
- Specifies whether and how the new trim edges added upon imprinting are extended towards the pre-existing middle surface edges.
- surface_imprint_option
- Specifies which edges of selected surfaces will be imprinted.
- min_gap_size
- When surface_imprint_option Bit2 is used, the imprinted lines should be no closer than this distance to any pre-existing edges of the mid-surface. The default value is 0, which indicates the parameter is calculated internally automatically.
- reserved1
- Reserved for future use. Must be set to 0.
- reserved2
- Reserved for future use. Must be set to 0.
- reserved3
- Reserved for future use. Must be set to 0.
- reserved4
- Reserved for future use. Must be set to 0.
Example
To imprint lines 36800-36802 onto the appropriate mid-surfaces, extending the projected lines in the direction of tangents, without preserving fixed points or endpoints:
*createmark lines 1 36800 36801 36802
*createmark surfaces 2
*midsurface_imprint LINES 1 2 2 0 0.0 0 0 0 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0