All Frameworks  Class Hierarchy  This Framework  Indexes

SPAabl Global Function api_set_abh_blends


outcome api_set_abh_blends(ENTITY_LIST const& entities,
var_radius* left_rad,
var_radius* right_rad= NULL,
var_cross_section* cross_sec= NULL,
CURVE* calibration_curve= NULL,
EDGE* first_edge= NULL,
EDGE* last_edge= NULL,
ENTITY* face_edge1= NULL,
ENTITY* face_edge2= NULL,
logical smooth1= TRUE,
logical smooth2= TRUE,
double start_setback= 0,
double end_setback= 0,
EDGE* loft_edge= NULL,
double start_sbdiff= 0,
double end_sbdiff= 0,
logical start_sbdiff_set= TRUE,
logical end_sbdiff_set= TRUE,
double start_stop_ang= 0,
double end_stop_ang= 0,
AcisOptions* ao= NULL )
Sets an implicit variable radius blend on each of a list of edges or vertices.The blend radius is described by one or two variable radius objects.

Role: Implicit variable radius blends are attached as attributes to each of the edges or vertices in the list.
The blend radius is described by the var_radius object(s).

Setback at an end of an edge determines where the blend is to be stopped short of the vertex at the edge end. It is only significant when the vertex is blended.

If start stop angle or end stop angle values are specified, the edge blend is stopped and capped with a stop plane at given setback distance. This stop plane is constructed such that the angle between stop plane and edge direction, about the line passing through end points of blend cross section, is equal to the specified stop angle value at that end. Stop angle value of 180 degrees is treated as a special case. In such a case, stop plane is constructed such that it passes through end vertex and end points of blend cross section at given setback distance.

Limitations: Entity-entity blends cannot create a stopped blend. The stopping location is based upon the edge being blended, thus entity-entity blends do not have this defined location.

Effect: Changes model

Journal: Available

Parameters:
entities
entities to be blended.
left_rad
left radius function.
right_rad
right radius function, same as left if NULL.
cross_sec
cross section, circular if NULL.
calibration_curve
defining curve for the blend.
first_edge
first edge in smooth sequence.
last_edge
last edge in smooth sequence.
face_edge1
edge in a face to interpolate.
face_edge2
edge in other face to interpolate.
smooth1
tangency flag if face_edge1 not NULL.
smooth2
tangency flag if face_edge2 not.
start_setback
setback at start of edge.
end_setback
setback at end of edge.
loft_edge
curve defining lofted cross section.
start_sbdiff
setback difference at start.
end_sbdiff
setback difference at end.
start_sbdiff_set
setback difference set at start.
end_sbdiff_set
setback difference set at end.
start_stop_ang
start stop angle.
end_stop_ang
end stop angle.
ao
ACIS options such as version and journal.

This object is included in the file: ablapi.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.