hm_wadlinessetparameters

Sets basic parameters for a WAD lines analysis.

Syntax

hm_wadlinessetparameters side_angle front_angle spacing rear_reference_radius reference_resolution upper_bumper_angle lower_bumper_angle corner_angle

Type

HyperMesh Tcl Query Command

Description

Sets basic parameters for a WAD lines analysis.

Inputs

side_angle
The angle used to determine the side reference line (default 45.0).
front_angle
The angle used to determine the front reference line (default 50.0).
spacing
The distance between section cuts used to determine the WAD lines and reference lines (default 100.0).
rear_reference_radius
The size of the ball rolled along the windshield to find the rear reference line (default 100.0).
reference_resolution
The spacing between cross-sections used to determine the reference lines (default spacing/2).
upper_bumper_angle
The angle used to determine the upper bumper reference line (default 20.0).
lower_bumper_angle
The angle used to determine the lower bumper reference line (default 25.0).
corner_angle
The angle used to determine the corner reference lines (default 60.0).

Example

To setup and extract WAD lines data:

hm_wadlinesinit
hm_wadlinessetparameters 45.0 50.0 100.0 100.0 50.0 20.0 25.0 60.0
hm_wadlinessetaxes 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0
*createmark comps 1 "bonnet" "bumper" "fenderL" "fenderR"
*createmark comps 2 "windshield" "a-pillars"
hm_wadlinessetentities comps 1 comps 2
*createmark elems 1 "by collector" wipers
hm_wadlinessetwipers elems 1 0 1
hm_wadlinesgetreferenceline 0
hm_wadlinesgetreferenceline 1
hm_wadlinesgetreferenceline 2
hm_wadlinesgetreferenceline 3
hm_wadlinesgetreferenceline 4
hm_wadlinesgetreferenceline 5
hm_wadlinesgetreferenceline 6
hm_wadlinesgetreferenceline 7
hm_wadlinesgetwadline 1000.0
hm_wadlinesgetwadline 1500.0
hm_wadlinesgetwadline 1700.0
hm_wadlinesgetwadline 2100.0
hm_wadlinesgetgridpoints 1000.0 1500.0 1700.0 2100.0 50.0
hm_wadlinesend

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