SchemeExt:Sheet:planar-wire
From DocR21
Contents |
Action
Creates a single planar sheet body from a single planar wire body.
Filename
scm/scmext/covr/covr_scm.cpp
APIs
Syntax
(sheet:planar-wire body)
Argument Types
| Argument | Scheme Data Type |
|---|---|
| body | body |
Returns
body
Description
This extension makes a planar sheet body from planar wire body.
Arguments
- 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
