www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/08/16/22:26:43

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=1kagN9g6MIT4WQ16ccLzpehrdZ+/2UgcvgDgZy1RMas=;
b=IJEX9KaOw8ksZ1y1RROR/yI50C45yrIg+azpUtGaMLAJveQYAEo53BB/c6NVc75L43
jR0kw0KPbaEZ2LtLvaAPSUsJlMqZXxXqao1pNkdGkMh7ECIgponOoD+D8h0DQxomfdUg
SBbpDtgob04t2a0zMd6oAmISRM2+OjaaysYaZPuwKIGgzcBxfpM2dwdNh9HdY4Xms+ZH
nHh2qjZ3EzTvrI77p9cPuDNQ279AHxxpKc9LrmGe+LAEIAUtCIH/k4HifIpxZL4KcJiP
xbYhsUIlhDdWDj+OP5hUhckrCinQh4oOAf0ObGtmY/VYgzBb4vRXjwr5wPMWw9lLzqAO
uf+Q==
MIME-Version: 1.0
X-Received: by 10.182.96.137 with SMTP id ds9mr1353561obb.58.1439778346346;
Sun, 16 Aug 2015 19:25:46 -0700 (PDT)
In-Reply-To: <CAFx0xxj4B2ByhKWhU7BSGjyUhkD_xLA-3wG-u2wB21MLqLbq4g@mail.gmail.com>
References: <CAFx0xxgpWa+Ku-B+OBBCiY4gagx3gtcSUCC5Mk1RM5vqK4u94Q AT mail DOT gmail DOT com>
<201508160552 DOT t7G5qBPo025284 AT envy DOT delorie DOT com>
<CAFx0xxj4B2ByhKWhU7BSGjyUhkD_xLA-3wG-u2wB21MLqLbq4g AT mail DOT gmail DOT com>
Date: Mon, 17 Aug 2015 11:55:46 +0930
Message-ID: <CAHUm0tP9aHWkP+N=B=iR7SmmPi5Pbo_we6-SeoaxK3uYHW_Npg@mail.gmail.com>
Subject: Re: [geda-user] PCB footprints - what is the best way to change
origin location on existing footprint?
From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user <geda-user AT delorie DOT com>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--047d7b2e4024e3ae7d051d78844f
Content-Type: text/plain; charset=UTF-8

It is merely the coordinates of the point that all other elements in the
footprint are relative to.

If the origin (a,b) is not in the set of of element coordinate (x,y), where
xmin < a < xmax, or ymin < b < ymax, then your origin will lie outside of
the footprint, and this will sometimes cause you grief, i.e. trying to
place a power connector footprint along the edge of a board, and it won't
go right up against the edge like you want, because the origin would then
lie beyond the boundary of the board.

Does that make sense?

Erich.


On Mon, Aug 17, 2015 at 1:36 AM, Dave Williams (
dave DOT williams DOT lists AT gmail DOT com) [via geda-user AT delorie DOT com] <
geda-user AT delorie DOT com> wrote:

> Yes - you can visually reset the origin by cut/paste and re-saving the
> footprint.  FWIW,
> I tried different values for  'mark_x' and 'mark_y' in the footprint
> file.  I did not see the
> footprint origin change position.  I understand all other pins and
> footprint features are
> relative to this origin.  But now I'm curious, what does a 0,0 value for
> the origin actually
> mean?  Relative to what?
>
> Thanks,
>
> Dave
>
> On Sat, Aug 15, 2015 at 11:52 PM, DJ Delorie <dj AT delorie DOT com> wrote:
>
>>
>> > Assuming an existing PCB footprint.  Is the only way to change
>> > the origin or diamond location (mark_x and mark_y) is by making
>> > changes to the footprint file?
>>
>> The origin is the "0,0" point that all the other parts of the
>> footprint are referenced to, so it's actually hard to change the
>> footprint file directly.
>>
>> You can move a footpring in pcb itself by pasting the footprint into a
>> blank layout, selecting it, and cutting it (the position of the cursor
>> when you cut is the "mark" for the footprint), and "save buffer
>> elements to file".
>>
>
>

--047d7b2e4024e3ae7d051d78844f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>It is merely the coordinates of the point t=
hat all other elements in the footprint are relative to.<br><br></div>If th=
e origin (a,b) is not in the set of of element coordinate (x,y), where xmin=
 &lt; a &lt; xmax, or ymin &lt; b &lt; ymax, then your origin will lie outs=
ide of the footprint, and this will sometimes cause you grief, i.e. trying =
to place a power connector footprint along the edge of a board, and it won&=
#39;t go right up against the edge like you want, because the origin would =
then lie beyond the boundary of the board.<br><br></div>Does that make sens=
e?<br><br></div>Erich.<br><div><div><br></div></div></div><div class=3D"gma=
il_extra"><br><div class=3D"gmail_quote">On Mon, Aug 17, 2015 at 1:36 AM, D=
ave Williams (<a href=3D"mailto:dave DOT williams DOT lists AT gmail DOT com">dave.william=
s DOT lists AT gmail DOT com</a>) [via <a href=3D"mailto:geda-user AT delorie DOT com">geda-u=
ser AT delorie DOT com</a>] <span dir=3D"ltr">&lt;<a href=3D"mailto:geda-user AT delo=
rie.com" target=3D"_blank">geda-user AT delorie DOT com</a>&gt;</span> wrote:<br><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><div><div>Yes - you can=
 visually reset the origin by cut/paste and re-saving the footprint.=C2=A0 =
FWIW, <br>I tried different values for=C2=A0 &#39;mark_x&#39; and &#39;mark=
_y&#39; in the footprint file.=C2=A0 I did not see the <br>footprint origin=
 change position.=C2=A0 I understand all other pins and footprint features =
are <br>relative to this origin.=C2=A0 But now I&#39;m curious, what does a=
 0,0 value for the origin actually <br>mean?=C2=A0 Relative to what?=C2=A0 =
<br></div></div></div><div><br></div><div>Thanks,<br></div><div><br></div><=
div>Dave<br></div></div><div class=3D"HOEnZb"><div class=3D"h5"><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Sat, Aug 15, 2015 at 11:=
52 PM, DJ Delorie <span dir=3D"ltr">&lt;<a href=3D"mailto:dj AT delorie DOT com" t=
arget=3D"_blank">dj AT delorie DOT com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><span><br>
&gt; Assuming an existing PCB footprint.=C2=A0 Is the only way to change<br=
>
&gt; the origin or diamond location (mark_x and mark_y) is by making<br>
&gt; changes to the footprint file?<br>
<br>
</span>The origin is the &quot;0,0&quot; point that all the other parts of =
the<br>
footprint are referenced to, so it&#39;s actually hard to change the<br>
footprint file directly.<br>
<br>
You can move a footpring in pcb itself by pasting the footprint into a<br>
blank layout, selecting it, and cutting it (the position of the cursor<br>
when you cut is the &quot;mark&quot; for the footprint), and &quot;save buf=
fer<br>
elements to file&quot;.<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--047d7b2e4024e3ae7d051d78844f--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019