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=TzKEPbtftQ4n2eeMT5iBFKOnFQVrdeblKWx+UuvRfuk=; b=qLmED73Y1W7SsSFxphtOgTY4bfkSVMydNYnNtFGm6lCLSa+SQmfUVcLslhnpwwDmi+ 4QiyBnfeQ5WmK8RS4qmkRMFw95JoODjYWuAPXmAxvpV+SZ53evTWh+t7HuQo+UQa7hGh iYJKB5OnN4S3eVbnAb4Rakd5olCmLWe9guy44Z5o2unMsj8B59que/IbAjaPtUo4S9Ek ksmCiF6JLkYAKdXE+LKilM1X9RmwZdIg9RRQWbzgqyH24lMbhN1KlWVG8F5MbwomxCo1 GIMzBeJ5yKZJrotpg6ftsNlmL+3S/rJq0OjpLg0N2tbKguGW4n4q4xPQum33fy3S+bda eGHw== MIME-Version: 1.0 X-Received: by 10.152.43.116 with SMTP id v20mr52422359lal.50.1439741192642; Sun, 16 Aug 2015 09:06:32 -0700 (PDT) In-Reply-To: <201508160552.t7G5qBPo025284@envy.delorie.com> References: <201508160552 DOT t7G5qBPo025284 AT envy DOT delorie DOT com> Date: Sun, 16 Aug 2015 10:06:32 -0600 Message-ID: Subject: Re: [geda-user] PCB footprints - what is the best way to change origin location on existing footprint? From: "Dave Williams (dave DOT williams DOT lists AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=001a11c33ccc5b2626051d6fde2c 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 Precedence: bulk --001a11c33ccc5b2626051d6fde2c Content-Type: text/plain; charset=UTF-8 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 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". > --001a11c33ccc5b2626051d6fde2c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes - you can visually reset the origin by = cut/paste and re-saving the footprint.=C2=A0 FWIW,
I tried different va= lues for=C2=A0 'mark_x' and 'mark_y' in the footprint file.= =C2=A0 I did not see the
footprint origin change position.=C2=A0 I unde= rstand all other pins and footprint features are
relative to this origi= n.=C2=A0 But now I'm curious, what does a 0,0 value for the origin actu= ally
mean?=C2=A0 Relative to what?=C2=A0
Thanks,

Dave

On Sat, Aug 15, 2015 at= 11:52 PM, DJ Delorie <dj AT delorie DOT com> wrote:

> Assuming an existing PCB footprint.=C2=A0 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 buf= fer
elements to file".

--001a11c33ccc5b2626051d6fde2c--