 |
PK_sweep_guide_control_t |
|
struct PK_sweep_guide_control_s
{
PK_VERTEX_array_t profile_matches;
--- guide start vertices
PK_sweep_guide_clamp_type_t clamp_type; --- clamp type
--- (PK_sweep_guide_clamp_none_c)
PK_sweep_guide_clamp_dirn_t dirn_clamp; --- direction clamp
PK_VERTEX_array_t guide_matches;
--- corresponding profile
--- vertices
};
typedef struct PK_sweep_guide_control_s PK_sweep_guide_control_t;
This structure holds options specific to each guide in sweeping.
Used in:
PK_BODY_make_swept_body_2_o_t
This structure has the following fields :
'profile_matches' An array of vertices, the length of which should be equal
to the number of profiles. For each profile, a guide vertex
should be specified which indicates the point on the guide
which corresponds to that profile.
'clamp_type' The clamp to apply to this guide. If any guides have a
clamp type other than PK_sweep_guide_clamp_none_c, then:
o These guides must have the same clamp type.
o 'guide_scale' must be set to PK_sweep_guide_uniform_c.
o The number of guides must be less than or equal to two.
The selection of the clamp type indicates which of the
following fields actually holds the description of the
constraint.
For PK_sweep_guide_clamp_dirn_c, the 'dirn_clamp' field
is examined for the description.
For PK_sweep_guide_clamp_fixed_c, no field is examined for
the description.
For PK_sweep_guide_clamp_none_c, no field is examined for
the description.
(PK_sweep_guide_clamp_none_c)
'dirn_clamp' A clamp direction may be specified at any or all of the
guide wire vertices, and these are used to define a clamp
direction at each point on the guide wire.
A clamp direction is swept so that it follows the path by
keeping at a fixed angle to the sweep direction. If there
is more than one clamp direction, the supplied clamp
directions are interpolated.
The swept cross-section will be transformed so that it
preserves its angular relationship to the clamp directions
at each guide.
'guide_matches' An array of vertices, the length of which should be equal
to the number of profiles. For each profile, a vertex
should be specified which indicates the point on
that profile corresponding to the relevant guide vertex
in 'profile_matches'. This array is required if
'guide_scope' has been set to PK_sweep_guide_scope_local_c;
otherwise, it should not be set.