|
Action:
|
Creates a single planar sheet body from a single planar wire body.
|
|
|
Filename:
|
covr/covr_scm/covr_scm.cxx
|
|
|
APIs:
|
api_cover_wires
|
|
|
Syntax:
|
(sheet:planar-wire body)
|
|
|
Arg Types:
|
body
|
body
|
|
|
Returns:
|
body
|
|
|
Description:
|
This extension makes a planar sheet body from planar wire body.
|
|
|
body is an input planar wire body.
|
|
|
Example:
|
; sheet:planar-wire
|
|
; Create circular edge 1.
|
|
(define edge1
|
|
|
(edge:circular (position 0 0 0) 20 0 180))
|
|
;; edge1
|
|
; Create linear edge 2.
|
|
(define edge2 (edge:linear (position -20 0 0)
|
|
|
(position 20 0 0)))
|
|
;; edge2
|
|
; Create a wire body from the edges.
|
|
(define wire_body
|
|
|
(wire-body (list edge1 edge2)))
|
|
;; wire_body
|
|
; Create a planar sheet from the wire body.
|
|
(define sheet_body
|
|
|
(sheet:planar-wire wire_body))
|
|
;; sheet_body
|