home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / tech / droege / plotout.doc < prev    next >
Text File  |  1986-10-20  |  4KB  |  181 lines

  1.                                  Page E-1
  2.  
  3.  
  4. PLOTOUT.DOC
  5.  
  6. This describes the plot file output format.  The file is ASCII with letters to
  7. indicate type of object or action and numbers for position or size.  All
  8. entries are separated by commas.  Separate lines are used for each entry except
  9. that x,y pairs for a line are continued on the same line until it ends.  See
  10. below and the TUTOR demo for examples.  You can measure with the cursor to
  11. verify items below.
  12.  
  13.  
  14. A       Aperture.  The following number is the aperture number.  The selected
  15.         aperture is moved to the plot position where it stays until changed.
  16.  
  17. C       Circle/Arc.  Draw an arc.  Format is x, y, radius, starting angle,
  18.         ending angle.  The starting and ending angle are in radians x 500.  The
  19.         arc is to be drawn counter clockwise.  The zero angle position is on
  20.         the + x axis.
  21.  
  22. D       Draw.  Draw a line.  The last aperture named is used to draw the line.
  23.         The line is started at the current plotting head position and draws are
  24.         continued to the following x,y pairs.
  25.  
  26. H       Home.  Move the plotting head to the home position.
  27.  
  28. M       Move.  Move the plotting head to the following x,y location.  Do not
  29.         draw while moving.
  30.  
  31. P       Pad.  Plot a pad at the following x,y location.  The last aperture
  32.         named is used to draw the pad.
  33.  
  34. The data below is the ASCII file generated from the TUTOR demonstration by
  35. selecting 3PLOT then 3FILE.  The plot file is that generated for level 1 only.
  36. The questions were answered "FILENAME" (we add .PLT to your entered file name),
  37. 1 for level, 1000 for steps per inch, 0 and 0 for x and y offset.  The job was
  38. edited to delete the bus symbol from the job to reduce its size so the plot
  39. file below is that for the circuit you see on first loading TUTOR.  **** Note:
  40. In order to create an output plot file, the level must be showing, i.e. there
  41. must be a color assigned to the level that you have selected for the plot.
  42. If you create plot files with a setup file that has a color assigned to only
  43. the level that you are plotting then "what you see is what you get". ****
  44.  
  45. The first entry is A, 12 to indicate that we start out using aperture 12.  The
  46. next entry P, 200 , 200 indicates that we are to draw a pad with aperture 12
  47. (the last named aperture) at  x=200, y=200.   A number of pads are similarly
  48. drawn.   Next we shift to aperture 4 and move to x=500, y=900 without drawing.
  49. We now start drawing at x=500, y=900 a line to x=1200, y=900 and continue on to
  50. x=1200, y=1000 where the line ends since the following entry is a move.  We
  51. continue with more lines and several aperture changes ending with an arc.  The
  52. arc has its center located at x=1900, y=400 and has a radius of 100
  53. (thousandths).  It starts at 90 degrees (Pi/2 radians*500 = (3.14/2)*500 = 785)
  54. and ends at 270 degrees.  The last entry H indicates that we are done.
  55.  
  56. See the job APERDEF for drawings of the apertures done 8x up.   The program
  57. ROLAND.BAS is included as an example to show how to read this file and drive a
  58. standard plotter.
  59.  
  60. A, 12
  61.                                  Page E-2
  62. P, 200 , 200
  63. P, 600 , 200
  64. P, 900 , 200
  65. P, 1300 , 200
  66. P, 200 , 1000
  67. P, 200 , 900
  68. P, 200 , 800
  69. P, 200 , 700
  70. P, 200 , 600
  71. P, 200 , 500
  72. P, 200 , 400
  73. P, 500 , 400
  74. P, 500 , 500
  75. P, 500 , 600
  76. P, 500 , 700
  77. P, 500 , 800
  78. P, 500 , 900
  79. P, 500 , 1000
  80. P, 1000 , 600
  81. P, 1000 , 1000
  82. P, 1200 , 600
  83. P, 1200 , 1000
  84. P, 800 , 1000
  85. P, 800 , 800
  86. A, 4
  87. M, 500 , 900
  88. D, 1200 , 900 , 1200 , 1000
  89. M, 800 , 1000
  90. D, 500 , 1000
  91. A, 6
  92. M, 200 , 200
  93. D, 50 , 200 , 50 , 1000 , 200 , 1000
  94. M, 200 , 200
  95. D, 200 , 50 , 1450 , 50 , 1450 , 600 , 1200 , 600
  96. A, 12
  97. P, 1100 , 400
  98. A, 8
  99. P, 900 , 400
  100. A, 3
  101. C, 1900 , 400 , 100 , 785 , 2356
  102. H
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.                                  Page E-3
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.