Difference between revisions of "MGED CMD cpi"
From BRL-CAD
(New page: Category:MGED =cpi= __TOC__ ==Syntax== :cpi old_tgc new_tgc ==Argument(s)== : '''old_tgc''' :: Source TGC : '''new_tgc''' :: New TGC ...) |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:MGED]] | + | [[Category:MGED|Cpi]] |
− | + | [[Category:MGED object generators|Cpi]] | |
=cpi= | =cpi= | ||
__TOC__ | __TOC__ |
Latest revision as of 23:49, 3 January 2010
cpi[edit]
Contents
Syntax[edit]
- cpi old_tgc new_tgc
Argument(s)[edit]
- old_tgc
- Source TGC
- new_tgc
- New TGC
Return Value(s)[edit]
- No Return Values for this command.
Description[edit]
The "cpi" command copies old_tgc (an existing TGC shape) to a new TGC shape (new_tgc), positions the new TGC such that its base vertex is coincident with the center of the top of old_tgc, and puts mged into the primitive edit state with new_tgc selected for editing. This command was typically used in creating models of wiring or piping runs; however, a pipe primitive has since been added to BRL-CAD to handle such requirements.
Example(s)[edit]
- mged> cpi tgc_a tgc_b
- Copy tgc_a to tgc_b and translate tgc_b to the end of tgc_a
See Also[edit]
Page Generated by David Loman on: 10/11/2007 at: 12:14:48 PM