solid:chamfer-edges
List of: Scheme Extensions
Subjects: Blending, Modifying Models
Contents: Blending

Action: Creates a chamfer blend on a list of edges.

Filename: blnd/blnd_scm/blnd_scm.cxx

APIs: api_chamfer_edges

Syntax: (solid:chamfer-edges entity-list


left-offset-distance [right-offset-distance]


[acis-opts])

Arg Types: entity-list entity | (entity ... )

left-offset-distance real

right-offset-distance real

acis-opts acis-options

Returns: (entity ... )

Description: This extension chamfers edges using an offset distance from the edge along the faces adjoining the edge. A list of edges may be specified which creates a series of chamfers between the faces adjoining the edges.


entity-list specifies a solid edge entity or list of solid edge entities to be chamfered.


left-offset-distance specifies the amount to be taken off the edge on the left face. If right-offset-distance is not specified, it is assumed equal to left-offset-distance. The sense of offsets is determined by the direction of the edge.


This extension returns a list of entity owners of all the edges in the entity-list. If 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:chamfer-edges

; Create geometry to illustrate this command.

(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


; Chamfer two of the solid block's edges.

(define chamfer-example (solid:chamfer-edges


(list (car (cdr edges1))


(car (cdr (cdr (cdr edges1))))) 10 5))

;; chamfer-example

; OUTPUT Result



Figure 2-26. solid:chamfer-edges
PDF/BLND/02SC.PDF
HTM/DATA/BLND/BLND/02SC/0032.HTM