Content-type: text/html; charset=UTF-8
Man page of WRAP
WRAP
Section: PD Piglet Users Manual (1P)
Updated: PD Piglet Users Manual
Index
Return to Main Contents
NAME
WRAP - Create a new device using existing components
SYNOPSIS
WRAP [<component>[<layer>]] [<devicename>] <xyorig> <xy1> <xy2> EOC
DESCRIPTION
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
subsequently smashed.
The GROUP command is identical to WRAp in function except that
components are selected individually instead of by region.
OPTIONS
<component>
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.
- <layer>
-
Limit selection to layer number, "0" or omitted designates all layers.
- <devicename>
-
The name to be used for the new wrapped instance. If omitted, an
internally generated name of the form "NONAME_<number>" will be used.
- <xyorig>
-
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.
SEE ALSO
piglet(1p)
add_arc(1p)
add_circle(1p)
add_instance(1p)
add_line(1p)
add_note(1p)
add_oval(1p)
add_polygon(1p)
add_rectangle(1p)
add_text(1p)
archive(1p)
area(1p)
background(1p)
bye(1p)
change(1p)
copy(1p)
date(1p)
define(1p)
delete(1p)
display(1p)
distance(1p)
dump(1p)
echo(1p)
edit(1p)
equate(1p)
exit(1p)
files(1p)
fsize(1p)
grid(1p)
group(1p)
help(1p)
identify(1p)
input(1p)
interrupt(1p)
layer(1p)
level(1p)
list(1p)
lock(1p)
macro(1p)
menu(1p)
move(1p)
plot(1p)
point(1p)
process(1p)
purge(1p)
quit(1p)
redo(1p)
retrieve(1p)
save(1p)
search(1p)
set(1p)
shell(1p)
show(1p)
smash(1p)
split(1p)
step(1p)
stretch(1p)
trace(1p)
tslant(1p)
undo(1p)
units(1p)
version(1p)
window(1p)
wrap(1p)
memory(1p)
time(1p)
AUTHOR
Rick Walker (walker AT omnisterra DOT com)
The PD Piglet homepage is at http://www.omnisterra.com/walker/linux/piglet/intro.htm.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 23:02:03 GMT, May 05, 2026