 |
PK_emboss_sidewall_data_t |
|
struct PK_emboss_sidewall_data_s
{
PK_emboss_sidewall_t sidewall; --- how to construct sidewall
--- (PK_emboss_sidewall_swept_c)
PK_taper_method_t taper_method;
--- how to create taper
--- (PK_taper_method_isocline_c)
PK_VECTOR1_t draw_direction;
--- outward draw direction for
--- tapered and swept sidewall,
--- or as a general reference for
--- the face normal of emboss cap
--- (0,0,1)
double taper_angle;--- taper angle of tapered sidewall
--- (0.0)
double offset; --- value for offset taper
--- (0.0)
PK_SURF_t top_surface;--- top surface for offset taper
--- (PK_ENTITY_null)
PK_BODY_t sidewall_body;
--- supplied sidewall in the
--- form of a non-disjoined and
--- manifold sheet body for
--- PK_emboss_sidewall_supplied_c
--- (PK_ENTITY_null)
int n_multi_taper_edges;
--- number of edges of profile
--- specified for multiple taper
--- angles for sidewall creation
--- (0)
const PK_EDGE_t *multi_taper_edges;
--- array of edges of profile which
--- will produce sidewalls with
--- multiple taper angles
--- (NULL)
const double *multi_taper_angles;
--- taper angle for each edge in
--- the 'multi_taper_edges' array
--- (NULL)
};
typedef struct PK_emboss_sidewall_data_s PK_emboss_sidewall_data_t;
This structure is part of the PK_BODY_emboss_o_t and PK_FACE_emboss_o_t
options structure. It contains the data for constructing sidewall geometry.
Used in:
PK_BODY_emboss_o_t
PK_FACE_emboss_o_t
Description of fields:
'sidewall' Method to construct sidewall surfaces.
Values can be:
PK_emboss_sidewall_tapered_c
PK_emboss_sidewall_ruled_c
PK_emboss_sidewall_swept_c
PK_emboss_sidewall_supplied_c
The default value is PK_emboss_sidewall_swept_c.
'taper_method' Method to create taper surfaces.
Values can be:
PK_taper_method_isocline_c
PK_taper_method_curve_c
PK_taper_method_offset_c
PK_taper_method_normal_c
The default value is PK_taper_method_isocline_c.
'draw_direction' The outward draw direction of emboss. For tapered
sidewall, it is the taper direction. For swept
sidewall, it is the direction to sweep the profile.
It is also a general reference direction of the
the face normal of resulting emboss cap.
The default value is (0,0,1).
'taper_angle' The taper angle of tapered sidewall.
The default value is a zero angle.
'offset' The offset distance for the offset taper method.
The default value is zero.
'top_surface' The surface on which the profile edge's curve is
projected to create the relevant offset curve.
The default value is PK_ENTITY_null.
'sidewall_body' The supplied sidewall body. It must be a non-disjoined
and manifold sheet body. It is also expected to be
large enough to reach both the target and the endcap.
The default value is PK_ENTITY_null.
'n_multi_taper_edges' number of edges of profile body which will use
different taper angles for sidewall creation.
'multi_taper_edges' Array of edges of profile body which will use different
taper angles for sidewall creation.
'multi_taper_angles' An array of angles to be used by edges in
'multi_taper_edges' when creating tapered sidewalls.
See here for more information.