*align1delemsbysystem
Aligns 1D elements with respect to global or local system.
Syntax
*align1delemsbysystem <option1>=<value1> <option2>=<value2> ... <optionN>=<valueN>
Type
HyperMesh Tcl Modify Command
Description
Aligns 1D elements with respect to global or local system.
Options can be provided in any order.
Inputs
- mark=<mark_id>
- The ID of the mark containing the input elements. Valid values are 1 and 2.
- align=<mark_id>
- The axis of the system with respect to which the elements will be aligned. Valid values are:
- angle=<value>
- The angular tolerance while aligning elements with respect to the axis of the input system.
- angledeviation=<value>
- The angular tolerance to consider a particular axis for aligning.
- dimension=<value>
- The dimension of the elements to consider. Valid value is 1D.
- system=<id>
- The reference system ID. For global system, it will be 0.
- vectorx=<value>
- xcomp=<value>
- The x component of the vector when align=vec.
- vectory=<value>
- ycomp=<value>
- The y component of the vector when align=vec.
- vectorz=<value>
- zcomp=<value>
- The z component of the vector when align=vec.
Examples
Align selected 1D elements with respect to local system with ID 1, along all its axes:
*createmark elements 1 1 2 3 4
*align1delemsbysystem mark=1 dimension=1D system=1 angle=15 align=xyz
Align selected 1D elements using vector components (1,0,0):
*createmark elements 1 1 2 3 4
*align1delemsbysystem mark=1 dimension=1D angledeviation=15 align=vec xcomp=1 ycomp=0 zcomp=0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2019
2020.1 - Added new options angledeviation , vectorx, vectory, vectorz, xcomp, ycomp and zcomp. Added new align value vec.