*hmplygeomsmoothing
Create smoothed geometry contour lines and surfaces for ply entities, with various options.
Syntax
*hmplygeomsmoothing mark_id num_iters tol create_line create_surface mode
Type
HyperMesh Tcl Modify Command
Description
This command allows you to create smoothed geometry contour lines and surfaces for ply entities, with various options.
Inputs
- mark_id
- The ID of the mark containing the plies for smoothing. Valid values are 1 and 2.
- num_iters
- The number of smoothing iterations to be run ≥ 0.
- small_tol
- Threshold value to identify local and small ply regions for elimination. The value depends on the small region type (see mode below).
- create_line
- 0 - Do not create contour lines for plies
- create_surface
- 0 - Do not create geometric surfaces for plies
- mode
- Specifies modes for small ply region elimination, as well as creating the lines and
surfaces. Bit values are used and the value is calculated as (Bit0 + 2*Bit1 +
4*Bit2 + 8*Bit3 + 16*Bit4).
- Bit0
- 0 - Detect small ply coverage regions by area ratio (local region area/ total design area)
- Bit1
- 0 - Do not split disconnected ply regions into separate new ply entities
- Bit2
- 0 - Do not update ply element sets
- Bit3
- 0 - Create geometry entities in original component
- Bit4
- 0 - Do not populate plies with geometry entities
Example
To create smoothed geometry lines and surfaces in separate components, with 5 iterations of smoothing, eliminating small ply regions with area less than 0.05 of the total design, and finally populate the ply with the geometry entities.
*createmark plies 1 all
*hmplygeomsmoothing 1 5 0.05 1 1 28
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
12.0.110