HMIN_form_system_with_nodes()
Creates a system from three nodes and writes the information to HyperMesh.
Syntax
HMIN_form_system_with_nodes(HM_entityidtype id, int type, char code, double origin[3], double axis[3], double plane[3], HM_entityidtype systemcollectorid)
Type
HyperMesh hminlib Function
Description
Creates a system from three nodes and writes the information to HyperMesh, even if the system is invalid (that is, axis nodes are coincident).
Inputs
- id
- The ID of the system.
- type
- The type of system to be written.
- 0 - For a Cartesian system.
- 1 - For a cylindrical system.
- 2 - For a spherical system.
- code
- The code value is used to determine which point defines two of the three X, Y, or Z vectors of the system. The third vector is then defined by calculating the cross product of the origin to axis and origin to plane vectors. Code is interpreted by HMIN_unpacksystemcode() in the following manner:
- origin
- The coordinates of the point which specify the system's origin.
- axis
- The coordinates of the point which specify the system's axis.
- plane
- The coordinates of the point which specify the plane of the system.
- systemcollectorid
- The ID of the system collector.