Content-type: text/html; charset=UTF-8
Man page of GRID
GRID
Section: PD Piglet Users Manual (1P)
Updated: PD Piglet Users Manual
Index
Return to Main Contents
NAME
GRID - Set grid spacing or turn grid on/off
SYNOPSIS
GRI [ON|OFF] [:C<color>] <delta> <skip> [<xorig> <yorig>]]
GRI [ON|OFF] [:C<color>] <xdelta> <ydelta> <xskip> <yskip> <xorig> <yorig>
DESCRIPTION
Modify the grid. If no arguments, will toggle the visibility of
the grid. The visibility can be explicitly set with "GRI ON" and "GRI
OFF". The grid color is set with ":C<color>", where <color> is an
integer from 0-7 signifying the colors "white, red, green, blue, cyan,
magenta, yellow".
Grid takes either 2,4 or 6 numeric arguments. With two arguments the
grid <delta> and <skip> are set. "GRI 10 2" forces all mouse picks to
be multiples of 10 units and will display every other grid tick:
0,20,40, etc. With four arguments the grid can be offset with an origin
of <xorig>,<yorig>. "GRID 10 1 5 7" displays grid snap points at ...-5,
5,15,25... in the x direction and ...-3, 7,17,27... in the y
direction, With 6 arguments the <delta> and <skip> can be set
independently for both x and y axis, creating a non-isotropic grid.
This can be useful when designing an IC in which metals with different
widths are used for routing signals in x and y directions.
When entering points with the mouse, the clicks ALWAYS snap to the grid,
giving a powerful way to enter precise coordinates.
OPTIONS
- <color>
-
an integer from 1-7 signifying white, red, green, blue, cyan, magenta or yellow
- <delta>
-
grid spacing for both x,y axes
- <skip>
-
how many snap points to skip for each displayed point
- <xorig>
-
x origin of the grid (default = 0)
- <yorig>
-
y origin of the grid (default = 0)
- <xdelta>
-
grid spacing for x axis
- <ydelta>
-
grid spacing for y axis
- <xskip>
-
grid skip for x axis
- <yskip>
-
grid skip for y axis
DIAGNOSTICS
The grid normally shows intermediate tick marks between major grid
points. These extra points are suppressed if the spacing goes below 3
pixels per tick. If the drawing is zoomed further, such that the major
grid ticks would also be displayed with less than 3 pixels per tick, the
entire grid is suppressed, and an error message is printed to the
console. The grid is still considered to be on even if a "grid
suppressed" message is printed
FILES
The current grid setting and color is saved with the device on disk.
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
-
- DIAGNOSTICS
-
- FILES
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 23:02:03 GMT, May 05, 2026