UF_MODL_smcutout_data_s (view source)
 
Defined in: uf_modl_smd.h
 
Also known as:
 
Overview
This structure is used to define the parameters for constructing the
cross sectional shape of the bead.

NOTE: The discard region is calculated by a vector pointing to the region to
be discarded. This vector, called the discard region vector, is the cross
product between the placement face normal and the tangent of the
combined curves in the "curves" array described above.
Therefore, it is important to know the order of the curves in the
"curves" array. Reversing the order of these curves may reverse their
tangent when combined and thus reverse the discard region vector.


Data Members

placement_face
tag_t
Face to put cutout

n_curves
int
The number of curves
in the curves array.

curves
tag_t *
An array holding the
tags to the curves
that define the
outline shape of the
SMCutout

proj_method
UF_MODL_smcutout_direction_type_e_t
The method used to
determine the
projection vector of
the outline curves as
well as the direction
in which the cutout
will be punched
through the solid
body. Can be one of
UF_FACE_NORMALS:
project along the
placement face
reverse normal.
UF_ALONG_VECTOR:
project along a
given vector. See
proj_vector below.
UF_ALONG_DATUM_AXIS:
project along a
given datum axis.
See datum_axis
below.

proj_vector [ 3 ]
double
Used when proj_method
is UF_ALONG_VECTOR.
This is the vector
along which the outline
curves will be
projected. It also
indicates the vector
along which the cutout
will be punched through
the solid body.

datum_axis
tag_t
Used when proj_method
is UF_ALONG_DATUM_AXIS.
This is the tag of a
datum axis that will
be used to determine
the vector along which
the outline curves will
be projected. It also
indicates the vector
along which the cutout
will be punched through
the solid body.

flip_discard_region
logical
When true the discard
region is flipped from
its normal calculation.
See discussion above on
the discard region.

type
UF_MODL_smcutout_type_e_t
Punch or through

thru_face
tag_t
Through face