::hwat::utils::ImportAndPositionPendulums
Imports and positions the pendulums for 581 bumper testing.
Syntax
ImportAndPositionPendulums URL translator barriername gap barrierNode zBeam overlap [centerline] [type] [vehiclename] [position] [displacement] [angle] [reflect] [offsets].
Arguments
- URL
- The path (URL) to the barrier.
- translator
- The path to the import translator.
- barriername
- The name of the barrier.
- gap
- The distance between the barrier and the vehicle.
- zbeam
- The max z of the bumper beam for high centerline or the min z of the bumper beam for low centerline.
- overlap
- The z overlap for the high and low centerline.
- centerline
-
Either "high" or "low"
Default = "high"
- type
- Either "center", "outboard", or
"corner"
- "center"
- Will be placed at the mid Y of the bumper.
- "outboard"
- Will be displaced from the mid Y of the bumper by a specified distance.
- "corner"
- Will be placed at the corner at a specified angle.
- vehiclename
- The name of the vehicle assembly.
- position
- Either front or rear.
- displacement
- The displacement of the pendulum from the mid Y of the bumper. Required if the type is "outboard". Negative means displaced to the left .
- angle
- The angle in degrees from the x-axis. Required if the type is corner.
- reflect
- Reflect the barrier about the x-axis. Either 0 or 1.
- offsets
- The offsets to apply when importing the barrier.
Returns
- Success
- 1
- Failure
- {}
Example
::hwat::utils::ImportAndPositionPendulums "D:/Hwat/barriers/pendulum.key" "D:/Altair/hm/bin/feinput/dynakey.exe" "HWATBarrier" 10 12345 665.5 110 high outboard "VEHICLE" front 304.8 0.0 1.
Comments
This function assumes that the model has been imported.