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=1MijMQamsEhIBHPv/tYgTBAL57ohIdbiAYBHr8pOMh0=; b=NcYqne9kEDqmrWz1TUpFVeVr3zwH5vEurOuw0TMGqShJf7LA3VTG7KG6idqbMqw/Ci /83Cna1JKqHENDYQ0hswG716yNHFkYkNcqAKqA3hRQQQyNCMOCC5cC6x4ssWHykoztFj wguapTz0TovcyqkaGf/WyxOg3gDVtSh4i7wXbnDXWwqSxEczToHa0ecRVYzpSTD40qSu chIaMCo6c7L5MJ/f1UxULqxR4zF/0txcS/54OA3LxWCTJXlhJi0pKGwTCTQMvcrWL3P9 CkoTLOcbbzD9M0iy9/dkojfR692B3wmq8Qz89HA4z3H329UKLBWk8amIW4sc0iYoOXhi Byjg== 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=1MijMQamsEhIBHPv/tYgTBAL57ohIdbiAYBHr8pOMh0=; b=rk1ZLp3fpLyWOGALs8IAgQDXxH9nQWxjPPoWyAWFqv1OiM/IBESXMfsV7wWFOPwkph tcmx0Ru1JiShtGqBZnCHPhHy2lJ9aaZojBXjnDshRdpBfu4CCtX0SGPvWrz/UOy3T4Zb x25rKDFNUeuPLLqGHtgcCtkTLlJIhHpNZXPCBSFC6b6o1yIZBs3am8GrgmMWeAv5y1/y I3p9Wp8lBfEGUgrnmBd+t8wU2cB/raDV6jo69VZ7q3wFuYE/VANIcWv+1NbnQtwTNY0K bv6QGRrGc8lul1WuqmethJkMLa5mVP5cvtcCVxaWq4cTKaKR3QeM3uODPWekJdCE9VMn 7CSw== X-Gm-Message-State: APjAAAX93hUY4lbuCnRttEZH/tWn4x3Vb+PZNeYJoAq+yeUCxyrJ1J4t MRaTiuu7CtbGycS1c1GYmJ03Kbm6vRfLrCmudsok1g== X-Google-Smtp-Source: APXvYqy6Od3m/6PJRPkeA+LysAhRtBckUoKF1YwgQHfKB39C1Ea8mwP1MNBhkwgSbZeRKLiwifWqWXqg+tAQM+PuWK4= X-Received: by 2002:a25:d5:: with SMTP id 204mr9059920yba.165.1573221994241; Fri, 08 Nov 2019 06:06:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Sat, 9 Nov 2019 00:36:21 +1030 Message-ID: Subject: Re: [geda-user] PCB jpg to silkscreen To: geda-user Content-Type: multipart/alternative; boundary="0000000000001ea38b0596d64a26" Reply-To: geda-user AT delorie DOT com --0000000000001ea38b0596d64a26 Content-Type: text/plain; charset="UTF-8" svg2mod will not work for PCB if the image has polygons which end up in the footprint, since they would get lost in subsequent translation to a PCB footprint. Inkscape2pcb will work for paths to PCB Image2footprint will work for PCB Pstoedit should "just work" for PCB.... But ymmv It all boils down to the question, does the artwork consist of filled polygons or line art. If polygons, pstoedit is the only simple option for exporting to PCB, but if line art, going via inkscape would be simplest for PCB. Regards, Erich On Sat, 9 Nov 2019 00:28 Rob Butts (r DOT butts DOT geda AT gmail DOT com) [via geda-user AT delorie DOT com], wrote: > So, I'm using Fedora 28 and a 2014 version of PCB that came with it. I'm > resistant to upgrading my Fedora because it seems I have to save all of my > folders and files then copy them back in. I have yet to find a nice way of > simply upgrading. And it seems like they spin a new version every 3 months > and now my version is end of life. > > My question is: everything discussed for pcb-rnd can not be done for pcb, > correct? > > On Fri, Nov 8, 2019 at 8:00 AM Rob Butts wrote: > >> Here's the output when I tried DJ's command: >> >> C:\Program Files\pstoedit>pstoedit -dt -flat 0.1 -pta -f pcb >> "C:\Users\Rob\Documents\Projects\Abate and Empower\Logos\silkscreens\ >> wing-wh-1x1.ps" > "C:\Users\Rob\Documents\Projects\Abate and >> Empower\Logos\silkscreens\wing-wh-1x1.pcb" >> pstoedit: version 3.71 / DLL interface 108 (built: Apr 1 2018 - release >> build - MS VC++ 1912 - 64-bit) : Copyright (C) 1993 - 2018 Wolfgang Glunz >> >> *** WARNING - you have selected SAFER, indicating you want Ghostscript >> to execute in a safer environment, but at the same time >> have selected DELAYBIND. Unless you use this option with >> care (and specifically, remember to call .bindnow) it is >> possible that malicious code may be able to evade the >> limited security offered by the SAFER option. >> >> *** WARNING - you have selected SAFER, indicating you want Ghostscript >> to execute in a safer environment, but at the same time >> have selected WRITESYSTEMDICT. Unless you use this option >> with >> care and specifically, remember to execute code like: >> "systemdict readonly pop" >> it is possible that malicious code may be able to evade the >> limited security offered by the SAFER option. >> Error: /undefined in .makeoperator >> Operand stack: >> false print print --nostringval-- >> Execution stack: >> %interp_exit .runexec2 --nostringval-- --nostringval-- >> --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- >> --nostringval-- false 1 %stopped_push 1989 1 3 %oparray_pop >> 1988 1 3 %oparray_pop 1976 1 3 %oparray_pop 1833 1 3 >> %oparray_pop --nostringval-- %errorexec_pop .runexec2 >> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push >> --nostringval-- --nostringval-- --nostringval-- >> Dictionary stack: >> --dict:1173/1684(G)-- --dict:0/20(G)-- --dict:135/200(L)-- >> --dict:1173/1684(G)-- >> Current allocation mode is global >> Current file position is 8090 >> GPL Ghostscript 9.50: Unrecoverable error, exit code 1 >> PostScript/PDF Interpreter finished. Return status 1 executed command : >> C:\Program Files\gs\gs9.50\bin\gsdll64.dll -q -dDELAYBIND -dWRITESYSTEMDICT >> -dNODISPLAY -dNOEPS C:/Users/Rob/AppData/Local/Temp/psin2 >> The interpreter seems to have failed, cannot proceed ! >> >> C:\Program Files\pstoedit> >> > --0000000000001ea38b0596d64a26 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
svg2mod will not work for PCB if the image has polyg= ons which end up in the footprint, since they would get lost in subsequent = translation to a PCB footprint.

Inkscape2pcb will work for paths to PCB

=
Image2footprint will work for PCB
=
Pstoedit should "just work" for PCB..= .. But ymmv

It all boils= down to the question, does the artwork consist of filled polygons or line = art. If polygons, pstoedit is the only simple option for exporting to PCB, = but if line art, going via inkscape would be simplest for PCB.

Regards,

Erich

So, I'm using Fedora 28 and a = 2014 version of PCB that came with it.=C2=A0 I'm resistant to upgrading= my Fedora because it seems I have to save all of my folders and files then= copy them back in.=C2=A0 I have yet to find a nice way of simply upgrading= .=C2=A0 And it seems like they spin a new version every 3 months and now my= version is end of life.

My question=C2=A0is: everything= discussed for pcb-rnd can not be done for pcb, correct?

On Fri, Nov 8= , 2019 at 8:00 AM Rob Butts <r DOT butts DOT geda AT gmail DOT com> wrote:
=
Here's the output when I tried DJ's command:
<= br>
C:\Program Files\pstoedit>pstoedit -dt -flat 0.1 -pta= -f pcb "C:\Users\Rob\Documents\Projects\Abate and Empower\Logos\silks= creens\wing-wh-1x1.ps" > "C:\Users\Rob\Documents\Projects\Abat= e and Empower\Logos\silkscreens\wing-wh-1x1.pcb"
pstoedit: v= ersion 3.71 / DLL interface 108 (built: Apr=C2=A0 1 2018 - release build - = MS VC++ 1912 - 64-bit) : Copyright (C) 1993 - 2018 Wolfgang Glunz

=C2=A0*** WARNING - you have selected SAFER, indicating you= want Ghostscript
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0to execute in a safer environment, but at the same time
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0have selected DELAY= BIND. Unless you use this option with
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0care (and specifically, remember to call .bindn= ow) it is
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= possible that malicious code may be able to evade the
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0limited security offered by th= e SAFER option.

=C2=A0*** WARNING - you have selec= ted SAFER, indicating you want Ghostscript
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0to execute in a safer environment, but at= the same time
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0have selected WRITESYSTEMDICT. Unless you use this option with
<= div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0care and specifi= cally, remember to execute code like:
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "systemdict readonly= pop"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0it is possible that malicious code may be able to evade the
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0limited security off= ered by the SAFER option.
Error: /undefined in .makeoperator
Operand stack:
=C2=A0 =C2=A0false=C2=A0 =C2=A0print=C2=A0 = =C2=A0print=C2=A0 =C2=A0--nostringval--
Execution stack:
=C2=A0 =C2=A0%interp_exit=C2=A0 =C2=A0.runexec2=C2=A0 =C2=A0--nostringval= --=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A02=C2= =A0 =C2=A0%stopped_push=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0--nostringv= al--=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0false=C2=A0 =C2=A01=C2=A0 =C2= =A0%stopped_push=C2=A0 =C2=A01989=C2=A0 =C2=A01=C2=A0 =C2=A03=C2=A0 =C2=A0%= oparray_pop=C2=A0 =C2=A01988=C2=A0 =C2=A01=C2=A0 =C2=A03=C2=A0 =C2=A0%oparr= ay_pop=C2=A0 =C2=A01976=C2=A0 =C2=A01=C2=A0 =C2=A03=C2=A0 =C2=A0%oparray_po= p=C2=A0 =C2=A01833=C2=A0 =C2=A01=C2=A0 =C2=A03=C2=A0 =C2=A0%oparray_pop=C2= =A0 =C2=A0--nostringval--=C2=A0 =C2=A0%errorexec_pop=C2=A0 =C2=A0.runexec2= =C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0--nost= ringval--=C2=A0 =C2=A02=C2=A0 =C2=A0%stopped_push=C2=A0 =C2=A0--nostringval= --=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0--nostringval--
Dictio= nary stack:
=C2=A0 =C2=A0--dict:1173/1684(G)--=C2=A0 =C2=A0--dict= :0/20(G)--=C2=A0 =C2=A0--dict:135/200(L)--=C2=A0 =C2=A0--dict:1173/1684(G)-= -
Current allocation mode is global
Current file positi= on is 8090
GPL Ghostscript 9.50: Unrecoverable error, exit code 1=
PostScript/PDF Interpreter finished. Return status 1 executed co= mmand : C:\Program Files\gs\gs9.50\bin\gsdll64.dll -q -dDELAYBIND -dWRITESY= STEMDICT -dNODISPLAY -dNOEPS C:/Users/Rob/AppData/Local/Temp/psin2
The interpreter seems to have failed, cannot proceed !

C:\Program Files\pstoedit>
--0000000000001ea38b0596d64a26--