|






|
Description
This is a PostScript program to generate optical encoder wheels (suitable for printing out on a transparency). Unlike similar programs, it is highly flexible and has many features, such as:
-Correct inside and outside diameters, regardless of line width.
-Quadrature capabilities, with adjustable phase difference.
-Automatic scaling of text size.
-Optional index track, with adjustable size or automatic fitting to segment size.
-Automatic page filling with cutting allowances.
-Most features can be turned on or off.
Instructions
To use, open up the file in a text editor and edit the settings. Then, open the file in a PostScript viewer (Acrobat?, KGhostView) or interpreter (GhostScript, ps2pdf) and print it out (or, if you have a laser printer you could try sending it to the printer directly).
If you find any bugs, please email me. My address is in the file.
For best results, use the latest version.
Changelog:
v1.3 (latest) Corrected bug caused by me being idiot about how quadrature actually works. I was calculating the phase difference based on one segment, but two segments actually make up a full wave, so the quadrature came out as half of the PhaseDifference. Many thanks to Rafael Pinto for finding this.
v1.2 Corrected bug causing a 1 degree gap in the segment track at extremely high segment counts (>700).
v1.1 Corrected bug causing letter descenders (such as on g,j,p,q, and y) to be drawn on and below the underLine. Letter descenders are now placed above it.
v1.01: Corrected typos in code comments.
Required Tools
Discussion
Downloads
|
encoderwheel.ps
8 kb /
216 downloads
|

download
|
|
encoderwheelv1.01.ps
9 kb /
127 downloads
Please be patient, we are rendering this file.
|

download
|
|
encoderwheelv1.1.ps
9 kb /
97 downloads
|

download
|
|
encoderwheelv1.2.ps
9 kb /
205 downloads
|

download
|
|
encoderwheelv1.3.ps
9 kb /
473 downloads
|

download
|
|