delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2020/11/21/16:07:16

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=ILW2guQzDAP6WMBFRjE9R9nnLCwfH1tIjxnEkxmknPs=;
b=ttVfVo+atU+tLSx2mO4Cna+qYjRrVp7ZdhTebCZ4sqxtxcepLXYa8HYqz8YkyQxaCl
bN53jzQsNZuz1MNlZQEu9D2LG+oGG/GWQQ7/HMmVK+Z0nnXaI1beqgJ7ILH879xVKIVw
k/dhV3AYs7o11p18yV3qHx+u/kIt/OazAgbpRiOE5Tj4LlEt1PSI7S9Cr9uTZorjNyes
Qw4dbK25M92g8wWGnGklIxEQFJOF7Enm5+2s0BzwTbC9CKrpgW6zfJwejCteCaNvdmBf
Ipyu5KbSnh7hGetF1f8XippHaulwNTvwga7WOxe6KAXPd3L5G5BwnlUYoXcl4A1mcfSC
cLyA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=ILW2guQzDAP6WMBFRjE9R9nnLCwfH1tIjxnEkxmknPs=;
b=TETQLuaTnUWFatqfF8PNqLw2DS2hOPv7GOxUv4aAmFEvkknY4+gUYNUoQ2gMrLuqhf
G7RRoHXJ78VoAtfkU7IuSFfHqAnLFJx4Gl4P23jrVrFedPA4HltivgKtndUAE6l5zBax
fcxjqLbDrDCHVO3VuoxYw9xPadtAzFK1HbzmMdk7v6yyzviItfH4VWGZRXW1G/JX6R2F
SQs8BYGg1maHj2wFcOalyqie16PH6z0EVjBLBeiQuObFxOcGNJDkARC4agb0gT80Utem
PnXRC+RaFCCY495y65Cw8TDRZjaXlnncFmHATrjvRL4mhoHcUV8c+A72emhXapWpqNLX
qHRA==
X-Gm-Message-State: AOAM531QMUuQa+tXpmtT6jSzVcrex74+McJBlVIVNdFyRSdsL1JYmQBW
bdqU6DqWBYEWc3iTNMr1/MH5nFDtNmjd+2I6fiTVvIU3vdU=
X-Google-Smtp-Source: ABdhPJwzXASZTvHg7tGEi1c3/2l5nK960XbEDesNpLvjRYd2eiVbtudth6+hSyOAN6z2GcahYEcQMu5nOT4xeBCQ7w0=
X-Received: by 2002:a1f:5e0b:: with SMTP id s11mr17257470vkb.8.1605991952496;
Sat, 21 Nov 2020 12:52:32 -0800 (PST)
MIME-Version: 1.0
References: <98752ff6-19fa-b003-a3a1-b4260cbbd450 AT gmx DOT de>
In-Reply-To: <98752ff6-19fa-b003-a3a1-b4260cbbd450@gmx.de>
From: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Date: Sat, 21 Nov 2020 16:01:18 -0500
Message-ID: <CAJZxidCTR1BOGRtFQ0SwqAniY9BSReKh2gjXO=VoCj9e+_EuNg@mail.gmail.com>
Subject: Re: [geda-help] use own m4 footprints in pcb
To: geda-help AT delorie DOT com
Reply-To: geda-help AT delorie DOT com

--000000000000d73ad205b4a423c1
Content-Type: text/plain; charset="UTF-8"

Hi Klaus-

I think the problem here is that most people aren't using the m4 footprints
anymore, so the expertise available to help is somewhat limited.

My understanding (which may be wrong because I haven't delved into that
particular part of the code) is that pcb doesn't actually read the m4
footprints, but rather the m4 scripts are used to generate footprints. So,
if you want to create a footprint from an m4 file, you have to run the m4
script with the desired parameters and generate a separate file that
contains the footprint data. I think this is done at compile time for the
m4 definitions that are included with pcb.

I imagine that gsch2pcb is running the m4 script with the specified rules
and including the footprint definition in the pcb file that it generates.
So, that's why it works with gsch2pcb, but not when you're trying to open
it directly.

Does any of that make sense?

--Chad


On Sat, Nov 21, 2020 at 1:52 PM Klaus Rudolph (lts-rudolph AT gmx DOT de) [via
geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:

> I still search a way how to integrate own m4 footprints to pcb.
>
> I am able to use own m4 footprints in connection with gsch2pcb, but I
> still not able to select a self created footprint in pcb itself from the
> library window.
>
> Any hint is very welcome...
>
> Klaus
>
>

--000000000000d73ad205b4a423c1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Klaus-</div><div><br></div><div>I think the proble=
m here is that most people aren&#39;t using the m4 footprints anymore, so t=
he expertise available to help is somewhat limited.</div><div><br></div><di=
v>My understanding (which may be wrong because I haven&#39;t delved into th=
at particular part of the code) is that pcb doesn&#39;t actually read the m=
4 footprints, but rather the m4 scripts are used to generate footprints. So=
, if you want to create a footprint from an m4 file, you have to run the m4=
 script with the desired parameters and generate a separate file that conta=
ins the footprint data. I think this is done at compile time for the m4 def=
initions that are included with pcb. <br></div><div><br></div><div>I imagin=
e that gsch2pcb is running the m4 script with the specified rules and inclu=
ding the footprint definition in the pcb file that it generates. So, that&#=
39;s why it works with gsch2pcb, but not when you&#39;re trying to open it =
directly.</div><div><br></div><div>Does any of that make sense?<br></div><d=
iv><br></div><div>--Chad<br></div><div><br></div></div><br><div class=3D"gm=
ail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Nov 21, 2020 at 1:=
52 PM Klaus Rudolph (<a href=3D"mailto:lts-rudolph AT gmx DOT de">lts-rudolph AT gmx.=
de</a>) [via <a href=3D"mailto:geda-help AT delorie DOT com">geda-help AT delorie DOT com=
</a>] &lt;<a href=3D"mailto:geda-help AT delorie DOT com">geda-help AT delorie DOT com</a=
>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I s=
till search a way how to integrate own m4 footprints to pcb.<br>
<br>
I am able to use own m4 footprints in connection with gsch2pcb, but I<br>
still not able to select a self created footprint in pcb itself from the<br=
>
library window.<br>
<br>
Any hint is very welcome...<br>
<br>
Klaus<br>
<br>
</blockquote></div>

--000000000000d73ad205b4a423c1--

- Raw text -


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