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]" Date: Sat, 21 Nov 2020 16:01:18 -0500 Message-ID: Subject: Re: [geda-help] use own m4 footprints in pcb To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000d73ad205b4a423c1" 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] 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
Hi Klaus-

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

My understanding (which may be wrong because I haven't delved into th= at particular part of the code) is that pcb doesn'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.

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're trying to open it = directly.

Does any of that make sense?

--Chad


--000000000000d73ad205b4a423c1--