home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1
/
HamRadio.cdr
/
tech
/
droege
/
plotout.doc
< prev
next >
Wrap
Text File
|
1986-10-20
|
4KB
|
181 lines
Page E-1
PLOTOUT.DOC
This describes the plot file output format. The file is ASCII with letters to
indicate type of object or action and numbers for position or size. All
entries are separated by commas. Separate lines are used for each entry except
that x,y pairs for a line are continued on the same line until it ends. See
below and the TUTOR demo for examples. You can measure with the cursor to
verify items below.
A Aperture. The following number is the aperture number. The selected
aperture is moved to the plot position where it stays until changed.
C Circle/Arc. Draw an arc. Format is x, y, radius, starting angle,
ending angle. The starting and ending angle are in radians x 500. The
arc is to be drawn counter clockwise. The zero angle position is on
the + x axis.
D Draw. Draw a line. The last aperture named is used to draw the line.
The line is started at the current plotting head position and draws are
continued to the following x,y pairs.
H Home. Move the plotting head to the home position.
M Move. Move the plotting head to the following x,y location. Do not
draw while moving.
P Pad. Plot a pad at the following x,y location. The last aperture
named is used to draw the pad.
The data below is the ASCII file generated from the TUTOR demonstration by
selecting 3PLOT then 3FILE. The plot file is that generated for level 1 only.
The questions were answered "FILENAME" (we add .PLT to your entered file name),
1 for level, 1000 for steps per inch, 0 and 0 for x and y offset. The job was
edited to delete the bus symbol from the job to reduce its size so the plot
file below is that for the circuit you see on first loading TUTOR. **** Note:
In order to create an output plot file, the level must be showing, i.e. there
must be a color assigned to the level that you have selected for the plot.
If you create plot files with a setup file that has a color assigned to only
the level that you are plotting then "what you see is what you get". ****
The first entry is A, 12 to indicate that we start out using aperture 12. The
next entry P, 200 , 200 indicates that we are to draw a pad with aperture 12
(the last named aperture) at x=200, y=200. A number of pads are similarly
drawn. Next we shift to aperture 4 and move to x=500, y=900 without drawing.
We now start drawing at x=500, y=900 a line to x=1200, y=900 and continue on to
x=1200, y=1000 where the line ends since the following entry is a move. We
continue with more lines and several aperture changes ending with an arc. The
arc has its center located at x=1900, y=400 and has a radius of 100
(thousandths). It starts at 90 degrees (Pi/2 radians*500 = (3.14/2)*500 = 785)
and ends at 270 degrees. The last entry H indicates that we are done.
See the job APERDEF for drawings of the apertures done 8x up. The program
ROLAND.BAS is included as an example to show how to read this file and drive a
standard plotter.
A, 12
Page E-2
P, 200 , 200
P, 600 , 200
P, 900 , 200
P, 1300 , 200
P, 200 , 1000
P, 200 , 900
P, 200 , 800
P, 200 , 700
P, 200 , 600
P, 200 , 500
P, 200 , 400
P, 500 , 400
P, 500 , 500
P, 500 , 600
P, 500 , 700
P, 500 , 800
P, 500 , 900
P, 500 , 1000
P, 1000 , 600
P, 1000 , 1000
P, 1200 , 600
P, 1200 , 1000
P, 800 , 1000
P, 800 , 800
A, 4
M, 500 , 900
D, 1200 , 900 , 1200 , 1000
M, 800 , 1000
D, 500 , 1000
A, 6
M, 200 , 200
D, 50 , 200 , 50 , 1000 , 200 , 1000
M, 200 , 200
D, 200 , 50 , 1450 , 50 , 1450 , 600 , 1200 , 600
A, 12
P, 1100 , 400
A, 8
P, 900 , 400
A, 3
C, 1900 , 400 , 100 , 785 , 2356
H
Page E-3