Mail Archives: geda-user/2013/04/11/15:52:26
I've already changed my local copy of ps.c. It compiles without
error. Below is the abbreviated text I actually used:
Starting at line 1390 in pcb/src/hid/ps/ps.c:
"\n",
"(Please measure between the flat faces of ONE pair of semi-circles
on)t\n",
"(both X and Y in the indicated units. Enter these values as X and
Y)t\n",
"(respectively. One member of each pair must be one of the
semicircles)t\n",
"(in the lower left corner. Nominal lengths on X are 4 in, 15 cm and
7.5 in.)t\n",
"(Nominal lengths on Y are 4 in, 20 cm and 10 in.)t\n",
"()t\n",
"(The large box is 10.25 by 7.75 inches and is not used for
calibration.)t\n",
This is part of the definition of static const char * const
calib_lines[], which starts at line 1329.
I also tried to add nominal values to the Y in, Y cm, X in and X cm
labels. This more or less worked, so that I now
I have something like "Y cm nom=20" on the Y axis. Howeer, since the
text is rotated on X, the nom= part gets
clipped. I am not sure how to fix this. Perhaps someone has a
suggestion. Here is the code (from void ps_calibrate (...:
fprintf (ps_cal_file, "4 in 0.5 (Y in nom=4) cbar\n");
fprintf (ps_cal_file, "20 cm 1.5 (Y cm nom=20) cbar\n");
fprintf (ps_cal_file, "10 in 2.5 (Y in nom=10) cbar\n");
fprintf (ps_cal_file, "-90 rotate\n");
fprintf (ps_cal_file, "4 in -0.5 (X in nom=4) cbar\n");
fprintf (ps_cal_file, "15 cm -1.5 (X cm nom=15) cbar\n");
fprintf (ps_cal_file, "7.5 in -2.5 (X in nom=7.5) cbar\n");
Since I don't have commit rights, I will leave it up to someone who does
to move this into the code base.
On 04/11/2013 02:27 PM, DJ Delorie wrote:
> Your interpretation is correct. Feel free to fix the instructions on
> the calibration page.
>
>
--
fictio cedit veritati
- Raw text -