Mail Archives: geda-user/2015/08/16/22:26:43
--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=
< a < xmax, or ymin < b < 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"><<a href=3D"mailto:geda-user AT delo=
rie.com" target=3D"_blank">geda-user AT delorie DOT com</a>></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 'mark_x' and 'mark=
_y' 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'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"><<a href=3D"mailto:dj AT delorie DOT com" t=
arget=3D"_blank">dj AT delorie DOT com</a>></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>
> Assuming an existing PCB footprint.=C2=A0 Is the only way to change<br=
>
> the origin or diamond location (mark_x and mark_y) is by making<br>
> changes to the footprint file?<br>
<br>
</span>The origin is the "0,0" point that all the other parts of =
the<br>
footprint are referenced to, so it'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 "mark" for the footprint), and "save buf=
fer<br>
elements to file".<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
--047d7b2e4024e3ae7d051d78844f--
- Raw text -