UF_MODL_die_tip_info_s (view source)
 
Defined in: uf_modl_dieeng.h
 
Also known as:
 
Overview
Following is a structure definition for die tip feature inquiry data.
It contains all the information needed to define the product orientation
in the die.


Data Members

product
tag_t
Tag of product body being tipped

origin [ 3 ]
double
origin on product body that is
mapped to center of operation box

center [ 3 ]
double
center of operation box

defining_tip_feature
tag_t
tag of feature that actually
defined the product orientation,
NULL_TAG if this feature defined
the product orientation

trans [ 3 ]
double
translation from center of die

num_trans_reasons
int
number of strings in following array,
will be 0 if no reasons supplied

trans_reasons
char * *
reasons supplied for translation,
will be NULL if no reason,
the memory for these strings should
be freed by calling UF_free

num_steps
int
number of steps in the product
orientation definition, also the
size of the following arrays

rot_axis
int *
for each step, the axis the
rotation is performed about
=0 -> X
=1 -> Y
=2 -> Z
=3 -> -X
=4 -> -Y
=5 -> -Z,
the memory for this array should
be freed by calling UF_free

rot_angle
double *
for each step, the angle of
rotation in degrees, the memory
for this array should be freed
by calling UF_free

num_rot_reasons
int *
number of reasons for each step,
will be 0 if no reasons supplied
for a step, the memory for this
array should be freed by
calling UF_free

rot_reasons
char * * *
for each step, the reasons supplied
for the rotation, an entry will
be NULL if no reasons, the memory
for each string should be freed
by calling UF_free, the string array
should be freed by calling UF_free,
and the complete array should also be
freed by calling UF_free
(e.g., UF_free(rot_reasons[0..n][0..n]);,
UF_free(rot_reasons[0..n]);
and UF_free(rot_reasons);)