SchemeExt:Sheet:planar-wires
From DocR21
Contents |
Action
Covers free planar wires with planar faces.
Filename
scm/scmext/covr/covr_scm.cpp
APIs
Syntax
(sheet:planar-wires wire-bodies ["nest" union])
Argument Types
| Argument | Scheme Data Type |
|---|---|
| wire-bodies | body |
| nest | string |
| union | boolean |
Returns
body
Description
This extension makes a planar sheet body from multiple planar wire bodies. Default is Boolean union.
Sketching a planar wireframe is often the first step of creating a solid model. This gives users better control over planar entities and can allow them to attach dimensions/constrains to the sketch. This command assists in handling unorganized planar entities, such as edges and wires. The planar entities are covered by planar faces and can be used for later solid construction operations, such as sweeping, lofting.
Arguments
- wire-bodies argument requires a list of wire bodies as input.
- "nest" argument combined with union argument defined as #f produces a subtraction. Any other combinations produce a Boolean union.
Example
; sheet:planar-wires ; Create topology to illustrate command. (define e1 (edge:ellipse (position 0 0 0) (gvector 0 0 1) 10))) ;; e1 (define w1 (wire-body e1)) ;; w1 (define e2 (edge:ellipse (position 0 0 0) (gvector 0 0 1) 20))) ;; e2 (define w2 (wire-body e2)) ;; w2 ; hole in the center (define planar (sheet:planar-wires (list w1 w2) "nest" #t)) ;; planar (roll) ;; -1 ; illustrate command with no hole (define nohole (sheet:planar-wires (list w1 w2) "nest" #f)) ;; nohole


