Manpage of WRAP
Section: PD Piglet Users Manual (1P)
Updated: PD Piglet Users Manual
Return to Main Contents
WRAP - Create a new device using existing components
WRAP [<component>[<layer>]] [<devicename>] <xyorig> <xy1> <xy2> EOC
Creates a new device out of the selected components. Selection is done
by taking all the components completely enclosed by the rectangular
region defined by <xy1> and <xy2>. Components can be further restricted by
the optional <component><layer> argument. Partially enclosed components are
omitted from the new device definition. Once selected, the group of
components is replaced by an instance named <devicename> of the newly
created device definition. The <devicename> is automatically saved to disk
when it is created. It is an error for <devicename> to exist either in
memory or on disk prior to the WRAp command.
WRAp is commonly used to MOVe or COPy various sub-regions of a drawing.
For this purpose, <devicename> can be omitted, and a unique name of the
form "NONAME_<number>" will be automatically generated. Such components
can be subsequently MOVed or COPied and will be automatically smashed
onto the disc when the current device is saved. NONAME instances may be
mirrored, scaled, or rotated by CHAnge command, but may not be sheared
(:Z) or aspected (:Y). If you need to shear or aspect a geometry, you
must encapsulated it in a permanently named instance, which may not be
The GROUP command is identical to WRAp in function except that
components are selected individually instead of by region.
A designator limiting the command to a given component.
One of E=everything, A=arc, C=circle, I=instances, L=lines,
N=notes, O=oval, P=polygons, R=rectangles, T=text.
If omitted, any component type may be selected.
Limit selection to layer number, "0" or omitted designates all layers.
The name to be used for the new wrapped instance. If omitted, an
internally generated name of the form "NONAME_<number>" will be used.
The point which will become the 0,0 coordinate in the new instance.
- <xy1> <xy2>
The bounding box used to select components to be wrapped.
Rick Walker (walker AT omnisterra DOT com)
The PD Piglet homepage is at http://www.omnisterra.com/walker/linux/piglet/intro.htm.
- SEE ALSO
This document was created by
using the manual pages.
Time: 19:41:46 GMT, May 14, 2010