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=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=0PIOXhQM6T/XtTVkYZ9zHNrs/4jrzw7W3NHr5ACnpZQ=; b=OnecCTCOAWvSpV/Mpi2CeVAhi2T16+Tn0yvKtQUcFjLWo7ON/jCNglMnFXG7n/ZoDb C/yrfhSuVbIPESGAeanUOI5D7duDjJPhBfebgs2PFJtyovd1Yi86nJbaoxJ9I2LWDKCy SHCS7jsQufLZluxTdAH/u4zWl5W1AoJNHSsi3ihxlZb4jlYP2AlrXs24V4nd35vGwHis AKXquTsuLRhEgeEr8IXLA4zRQh6alOk1CF0WWhBmZEgorYYpiwcj5nlb5zAnS5dANfVE DfAU2rh4R8QhZ3CaJ1azh3EsU03sAfhtpp+KI8DjLVNCMN4y+mHVaRuWsZiIB3h/cmBD Su6Q== 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=0PIOXhQM6T/XtTVkYZ9zHNrs/4jrzw7W3NHr5ACnpZQ=; b=E5qJun3Fgyn5nckXLqc/SMgCHGDuuZ8ScwRTLKjsJNwYkJBfsa0L3Vs0SYg6SuRBcG UroQ66FCKoNyF45H9ixOAFQzL/KGmUPHrj9ewtpl+wEaiVeF26LJWZN+jiB4ftiJSPQk 2R5tLPdNQPr/oysPd32R5pTk5m+GlQAb3fKrEuGKuSoXtLok3Tr0t/F7CSnnqpBRsT1C gLv+lW4J6UBjyKa+pLO7sksIDsejYxh3DL2/mkjV9G+yTLvFakck/qGD+itbII9L7QcG Bh+aW4gZvn6a8o0glCkrf2divt0duRaD5UnTP2l08uY7Q0u5Qil9tnOZK0HalRjWg9sD sNhg== X-Gm-Message-State: APjAAAUoaRudxVOq4MZob/6L++Iq2I/+Gc8qxCFIUnCIWaC2m9wNDqo7 eV479D40c86IlajwSc7E6UV1YtmQNWGpJ/fSSqQ5ww== X-Google-Smtp-Source: APXvYqy/7gyp2GU6b7vVuBeLgLbDgdEP/poiPuc6AxpGxWqPcBMSyYo4xC6TyfvyPy64fKzu+q6Vt8mFhJePtJXPrvo= X-Received: by 2002:a81:320f:: with SMTP id y15mr5501012ywy.171.1573190442589; Thu, 07 Nov 2019 21:20:42 -0800 (PST) MIME-Version: 1.0 References: <20191107234353 DOT 2cnjvbydorw2nldm AT recycle DOT lbl DOT gov> In-Reply-To: <20191107234353.2cnjvbydorw2nldm@recycle.lbl.gov> From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Fri, 8 Nov 2019 15:50:30 +1030 Message-ID: Subject: Re: [geda-user] PCB jpg to silkscreen To: geda-user Content-Type: multipart/alternative; boundary="0000000000007ea44d0596cef1b6" Reply-To: geda-user AT delorie DOT com --0000000000007ea44d0596cef1b6 Content-Type: text/plain; charset="UTF-8" Other ways to proceed include 1) https://github.com/erichVK5/image2footprint Also discussed at http://vk5hse.blogspot.com/2016/05/adding-images-to-silkscreen-in-geda-pcb.html 2) svg2mod, which will produce a kicad footprint that pcb-rnd can load. Polygons in the footprint may not work with gEDA PCB though 3) just load the image directly into pcb-rnd, also discussed at http://vk5hse.blogspot.com/2017/04/bitmap-import-now-supported-by-pcb-rnd.html?m=1 4) with respect to qr-codes, pcb-rnd supports parametric qr code and bar code insertion too: http://repo.hu/cgi-bin/pool.cgi?cmd=show&node=qr Cheers, Erich On Fri, 8 Nov 2019 10:51 Larry Doolittle (ldoolitt AT recycle DOT lbl DOT gov) [via geda-user AT delorie DOT com], wrote: > Rob - > > On Thu, Nov 07, 2019 at 05:07:40PM -0500, Rob Butts ( > r DOT butts DOT geda AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > > I searched online for a way to convert a jpg (logo) to a PCB > silkscreen. I > > found only one convoluted way using Inkscape and pstoedit. I got > inkscape > > to work fine but pstoedit is failing. > > Is there another way to convert a jpg to silkscreen? > > I've generated Gerber files with QR codes on them, > and then had boards fabbed where the result (on a silkscreen layer) > is easily readable with a phone app. > > The python-managed toolchain is: > qrtools.QR() makes a .png > scipy.ndimage.imread() reads the .png > create a gEDA .pcb file header from a template > emit one polygon per pixel (or not, the .png is black&white) > close out the .pcb file > run pcb -x gerber on that .pcb file > If anyone wants to see this, contact me by PM. > > - Larry > --0000000000007ea44d0596cef1b6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Other ways to proceed include

<= /div>

Also discussed at


2) svg2mod, which will produce a kica= d footprint that pcb-rnd can load. Polygons in the footprint may not work w= ith gEDA PCB though

3) j= ust load the image directly into pcb-rnd, also discussed at


4) with respect to qr= -codes, pcb-rnd supports parametric qr code and bar code insertion too:


Cheers,

Erich<= /div>



On Fri, 8 Nov 2019 10:51 Larry Doolittle (ldoolitt AT recycle DOT lbl DOT gov) [vi= a geda-user AT delorie DOT com], <= geda-user AT delorie DOT com> wrot= e:
Rob -

On Thu, Nov 07, 2019 at 05:07:40PM -0500, Rob Butts (r DOT butts DOT geda AT gmail= .com) [via geda-user AT delorie DOT com] wrote:
> I searched online for a way to convert a jpg (logo) to a PCB silkscree= n.=C2=A0 I
> found only one convoluted way using Inkscape and pstoedit.=C2=A0 I got= inkscape
> to work fine but pstoedit is failing.
> Is there another way to convert a jpg to silkscreen?

I've generated Gerber files with QR codes on them,
and then had boards fabbed where the result (on a silkscreen layer)
is easily readable with a phone app.

The python-managed toolchain is:
=C2=A0 =C2=A0qrtools.QR()=C2=A0 makes a .png
=C2=A0 =C2=A0scipy.ndimage.imread() reads the .png
=C2=A0 =C2=A0create a gEDA .pcb file header from a template
=C2=A0 =C2=A0emit one polygon per pixel (or not, the .png is black&whit= e)
=C2=A0 =C2=A0close out the .pcb file
=C2=A0 =C2=A0run pcb -x gerber on that .pcb file
If anyone wants to see this, contact me by PM.

=C2=A0 - Larry
--0000000000007ea44d0596cef1b6--