SchemeExt:Wire:unite-edges
From DocR21
Contents |
Action
Unites all edges into a wire body using a non-regularized unite.
Filename
scm/scmext/covr/wire_heal_scm.cpp
APIs
Syntax
(wire:unite-edges edges [ao])
Argument Types
| Argument | Scheme Data Type |
|---|---|
| edges | edge |
| ao | acis-options |
Returns
body
Description
Performs a non-regularized unite on a list of edges to create a wire body.The resulting body may have faces, edges, and/or vertices not needed to support the topology.
These are not removed before returning the resulting body.
Arguments
- body is an input body.
- ao contains journaling and versioning information.
Example
; wire:unite-edges ; Create topology to illustrate command. (define edge1 (edge:linear (position -1 0 0) (position 11 0 0))) ;; edge1 (define edge2 (edge:linear (position 10 -1 0) (position 10 11 0))) ;; edge2 (define edge3 (edge:linear (position 11 10 0) (position -1 10 0))) ;; edge3 (define edge4 (edge:linear (position 0 11 0) (position 0 -1 0))) ;; edge4 (define w (wire:unite-edges (part:entities))) ; (4 edges) 4 ;; w ; check for bad wires, geometry, and topology. (entity:check w) ;; ()
