[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: output scale



From: Sten Björnebro <sten@ebs.homedns.org>
Subject: Re: gEDA-user: output scale
Date: Thu, 1 Apr 2004 21:06:03 +0200
Message-ID: <20040401210603.6170e712.sten@ebs.homedns.org>

> On Wed, 31 Mar 2004 19:09:12 -0500
> "harry eaton" <bumpelo@comcast.net> wrote:
> 
> > "Correcting drawing to reality" had better be just a matter of correcting
> > for errors in the printer or photo-processess further down stream. If not,
> > you'd better change the layout itself.
> > 
> > That said, pcb's print scaling is not really intended for that purpose -
> > partly because to do it properly you need separate corrections for X and Y
> > scaling in most cases.
> 
> Aha. 
> > 
> > If you do want to make tiny adjustments to the scaling, I'd recommend simply
> > adjusting the postscript scale value(s). Any pcb postscript output will have
> > lines that look like:
> > ...
> > gsave
> > 0.00072 0.00072 scale
> > xxxxx  yyyyy translate
> > 1.000 1.000 scale
> > ....
> > 
> > where xxxxx and yyyyy depend on your design. Simply edit the "1.000" values
> > to tweak the scaling. (They are X and Y scalings).
> > 
> So postscrip editing is insted for cam program.

Well, it is a dirty way of solving the problem. I can't see how it would be
very hurtfull for someone to hack this scaling into the PCB tool, but then
again, I haven't actually read the source either. IMHO such a scaling should be
there, since in reality you can't assume there is a CAM tool or that people
have the sufficient Postscript knowledge.

> I have to lern mor about Postcrip. 

<xscale> <yscale> scale

In Postscript the parameters comes before the call.

Cheers,
Magnus