|
Action:
|
Creates a face from the circuit containing the given edge.
|
|
|
Filename:
|
adm/ds_scm/acovr_scm.cxx
|
|
|
APIs:
|
api_advanced_cover
|
|
|
Syntax:
|
(adv-cover:cover-circuit edge adv-cover-opts)
|
|
|
Arg Types:
|
edge
|
edge
|
|
adv-cover-opts
|
AdvCover_Opt
|
|
|
Returns:
|
face
|
|
|
Description:
|
This Scheme extension attempts to create a face by covering the circuit containing the input
edge. The
AdvCover_Opt object
adv-cover-opts (see
adv-cover:options) is used to provide additional information to be used in creating the covering surface, such as requirements for continuity (G0 or G1) with adjacent surfaces.
|
|
|
edge is the input edge.
|
|
|
adv-cover-opts is the Advanced Covering options.
|
|
|
Limitations:
|
The circuit must be plane projectable. Refer to the Advanced Covering chapter of the
ADM component for further discussion of limitations.
|
|
|
Example:
|
; adv-cover:cover-circuit
|
|
; Define the edge
|
|
(define e (edge:spline (list
|
|
|
|
(position 0 0 0) (position 1 1 .3)
|
|
|
|
(position 0 2 0) (position -1 1 .3)
|
|
|
|
(position 0 0 0))))
|
|
;; e
|
|
; Make the wire body.
|
|
(define wire (wire-body e))
|
|
;; wire
|
|
(define e (list-ref (entity:edges wire) 0))
|
|
;; e
|
|
; Cover the wire.
|
|
(define my-ent (adv-cover:cover-circuit e ))
|
|
;; my-ent
|