|
Action:
|
Creates a cylindrical blend on a list of edges.
|
|
|
Filename:
|
blnd/blnd_scm/blnd_scm.cxx
|
|
|
APIs:
|
api_blend_edges
|
|
|
Syntax:
|
(solid:blend-edges entity-list radius [acis-opts])
|
|
|
Arg Types:
|
entity-list
|
entity | (entity ... )
|
|
radius
|
real
|
|
acis-opts
|
acis-options
|
|
|
Returns:
|
(entity ... )
|
|
|
Description:
|
entity-list specifies a solid
EDGE entity or a list of solid
EDGE entities to be blended.
|
|
|
radius specifies the length between the faces adjoining the edges.
|
|
|
This extension returns a list of entity owners of all the edges affected by the blend. In the case where all the edges in the
entity-list belong to a single solid, this extension returns only one element (the solid).
|
|
|
acis-opts contains optional parameters that are specific to the component and general
ACIS options such as the journal and version information. The
option argument (must be the last argument) is a class derived from
acis-options.
|
|
|
Example:
|
; solid:blend-edges
|
|
; Create a solid block.
|
|
(define block1
|
|
|
(solid:block (position -25 -25 -25)
|
|
|
(position 25 25 25)))
|
|
;; block1
|
|
; Get a list of the solid block's edges.
|
|
(define edges1 (entity:edges block1))
|
|
;; edges1
|
|
; OUTPUT Original
|
|
|
; Blend two of the edges.
|
|
(define blend (solid:blend-edges (list (car edges1)
|
|
|
(car (cdr (cdr edges1)))) 8))
|
|
;; blend
|
|
; OUTPUT Result
|
|
|
|
|
|
Figure 2-25. solid:blend-edges
|